Skip to content

Commit f019275

Browse files
fix: don't accept allow_algebraic as a kwarg to InitializationProblem
1 parent 3423435 commit f019275

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/systems/diffeqs/abstractodesystem.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,6 @@ function InitializationProblem{iip, specialize}(sys::AbstractSystem,
14581458
allow_incomplete = false,
14591459
force_time_independent = false,
14601460
algebraic_only = false,
1461-
allow_algebraic = nothing,
14621461
kwargs...) where {iip, specialize}
14631462
if !iscomplete(sys)
14641463
error("A completed system is required. Call `complete` or `structural_simplify` on the system before creating an `ODEProblem`")
@@ -1486,7 +1485,7 @@ function InitializationProblem{iip, specialize}(sys::AbstractSystem,
14861485
end
14871486

14881487
if simplify_system
1489-
isys = structural_simplify(isys; fully_determined, allow_algebraic)
1488+
isys = structural_simplify(isys; fully_determined)
14901489
end
14911490

14921491
meta = get_metadata(isys)

0 commit comments

Comments
 (0)