Skip to content

Commit f93cd7a

Browse files
Update src/NonlinearSolve.jl
Co-authored-by: Avik Pal <[email protected]>
1 parent 670a4bf commit f93cd7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/NonlinearSolve.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ import PrecompileTools
4949
for T in (Float32, Float64)
5050
prob = NonlinearProblem{false}((u, p) -> u .* u .- p, T(0.1), T(2))
5151

52-
precompile_algs = if VERSION v"1.7"
53-
(NewtonRaphson(), TrustRegion(), LevenbergMarquardt())
54-
else
55-
(NewtonRaphson(),)
56-
end
52+
precompile_algs = (NewtonRaphson(), TrustRegion(), LevenbergMarquardt())
5753

5854
for alg in precompile_algs
5955
solve(prob, alg, abstol = T(1e-2))

0 commit comments

Comments
 (0)