Skip to content

Commit

Permalink
Merge pull request #24 from CCsimon123/main
Browse files Browse the repository at this point in the history
Precompile Klement (bug-fix)
  • Loading branch information
ChrisRackauckas authored Jan 5, 2023
2 parents 76ce48c + e19cc1b commit 13b5daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SimpleNonlinearSolve/src/SimpleNonlinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SnoopPrecompile

SnoopPrecompile.@precompile_all_calls begin for T in (Float32, Float64)
prob_no_brack = NonlinearProblem{false}((u, p) -> u .* u .- p, T(0.1), T(2))
for alg in (SimpleNewtonRaphson, Broyden)
for alg in (SimpleNewtonRaphson, Broyden, Klement)
solve(prob_no_brack, alg(), tol = T(1e-2))
end

Expand Down

0 comments on commit 13b5daf

Please sign in to comment.