Skip to content

Commit

Permalink
Merge pull request #2885 from SciML/ChrisRackauckas-patch-6
Browse files Browse the repository at this point in the history
Pass down documented kwargs in structural_simplifiy
  • Loading branch information
ChrisRackauckas authored Jul 22, 2024
2 parents 31059a3 + add2999 commit c97a0dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/systems/systems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ topological sort of the observed equations in `sys`.
"""
function structural_simplify(
sys::AbstractSystem, io = nothing; simplify = false, split = true,
allow_symbolic = true, allow_parameter = true, conservative = false, fully_determined = true,
allow_symbolic = false, allow_parameter = true, conservative = false, fully_determined = true,
kwargs...)
newsys′ = __structural_simplify(sys, io; simplify,
allow_symbolic, allow_parameter, conservative, fully_determined,
kwargs...)
newsys′ = __structural_simplify(sys, io; simplify, kwargs...)
if newsys′ isa Tuple
@assert length(newsys′) == 2
newsys = newsys′[1]
Expand Down

0 comments on commit c97a0dc

Please sign in to comment.