Skip to content

Commit

Permalink
Fix DiscreteProblem construction
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Oct 4, 2023
1 parent f2d80b0 commit ae05041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/jumps/jumpsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ dprob = DiscreteProblem(js, u₀map, tspan, parammap)
function DiffEqBase.DiscreteProblem(sys::JumpSystem, u0map, tspan::Union{Tuple, Nothing},
parammap = DiffEqBase.NullParameters();
checkbounds = false,
use_union = false,
use_union = true,
kwargs...)
dvs = states(sys)
ps = parameters(sys)
Expand Down

0 comments on commit ae05041

Please sign in to comment.