Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 632910b

Browse files
last few TrustRegions
1 parent 4c5b430 commit 632910b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SimpleNonlinearSolve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SnoopPrecompile.@precompile_all_calls begin for T in (Float32, Float64)
3232
solve(prob_no_brack, alg(), abstol = T(1e-2))
3333
end
3434

35-
for alg in (TrustRegion(10.0),)
35+
for alg in (SimpleTrustRegion(10.0),)
3636
solve(prob_no_brack, alg, abstol = T(1e-2))
3737
end
3838

@@ -53,6 +53,6 @@ SnoopPrecompile.@precompile_all_calls begin for T in (Float32, Float64)
5353
end end
5454

5555
# DiffEq styled algorithms
56-
export Bisection, Broyden, Falsi, Klement, SimpleNewtonRaphson, TrustRegion
56+
export Bisection, Broyden, Falsi, Klement, SimpleNewtonRaphson, SimpleTrustRegion
5757

5858
end # module

src/trustRegion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function SciMLBase.__solve(prob::NonlinearProblem,
9797
max_shrink_times = alg.max_shrink_times
9898

9999
if SciMLBase.isinplace(prob)
100-
error("TrustRegion currently only supports out-of-place nonlinear problems")
100+
error("SimpleTrustRegion currently only supports out-of-place nonlinear problems")
101101
end
102102

103103
atol = abstol !== nothing ? abstol :

0 commit comments

Comments
 (0)