Skip to content

Commit

Permalink
Remove double completion
Browse files Browse the repository at this point in the history
This is a bug in the tests that was found by SciML/ModelingToolkit.jl#3027
  • Loading branch information
ChrisRackauckas authored Sep 8, 2024
1 parent 6d0cbea commit 0bb348a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ let
@named ns = ODESystem(nseqs, t, [A2, B2, D], [β])
rs = compose(rs, [ns])
rs = complete(rs)
osys = complete(convert(ODESystem, rs; include_zero_odes = false))
osys = convert(ODESystem, rs; include_zero_odes = false)
p = [r₊ => 1.0, r₋ => 2.0, ns.β => 3.0]
u₀ = [A => 1.0, B => 2.0, C => 0.0]
oprob = ODEProblem(structural_simplify(osys), u₀, (0.0, 10.0), p)
Expand Down Expand Up @@ -497,4 +497,4 @@ let
defs[rn2.q] == 20.0
defs[rn2.X] == 30.0
defs[rn2.Z] == 40.0
end
end

0 comments on commit 0bb348a

Please sign in to comment.