Skip to content

Commit e501890

Browse files
refactor: remove use_homotopy_continuation keyword from NonlinearProblem
1 parent e9e3be7 commit e501890

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/systems/nonlinear/nonlinearsystem.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -510,17 +510,10 @@ end
510510

511511
function DiffEqBase.NonlinearProblem{iip}(sys::NonlinearSystem, u0map,
512512
parammap = DiffEqBase.NullParameters();
513-
check_length = true, use_homotopy_continuation = false, kwargs...) where {iip}
513+
check_length = true, kwargs...) where {iip}
514514
if !iscomplete(sys)
515515
error("A completed `NonlinearSystem` is required. Call `complete` or `structural_simplify` on the system before creating a `NonlinearProblem`")
516516
end
517-
if use_homotopy_continuation
518-
prob = safe_HomotopyContinuationProblem(
519-
sys, u0map, parammap; check_length, kwargs...)
520-
if prob isa HomotopyContinuationProblem
521-
return prob
522-
end
523-
end
524517
f, u0, p = process_SciMLProblem(NonlinearFunction{iip}, sys, u0map, parammap;
525518
check_length, kwargs...)
526519
pt = something(get_metadata(sys), StandardNonlinearProblem())

0 commit comments

Comments
 (0)