Skip to content

Commit 3a9ebe1

Browse files
nothing is a perfectly valid nonlinear solver algorithm
it's the default
1 parent 1381d10 commit 3a9ebe1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/initialization.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ function get_initial_values(prob, valp, f, alg::OverrideInit,
267267
success = true
268268
else
269269
nlsolve_alg = something(nlsolve_alg, alg.nlsolve, Some(nothing))
270-
if nlsolve_alg === nothing && state_values(initprob) !== nothing
271-
throw(OverrideInitMissingAlgorithm())
272-
end
273270
if alg.abstol !== nothing
274271
_abstol = alg.abstol
275272
elseif abstol !== nothing

0 commit comments

Comments
 (0)