Skip to content

Commit

Permalink
Merge pull request #1046 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Remove double completion
  • Loading branch information
isaacsas authored Sep 9, 2024
2 parents 6d0cbea + 0bb348a commit 31b0f99
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 31b0f99

Please sign in to comment.