Skip to content

Commit ae05041

Browse files
committed
Fix DiscreteProblem construction
1 parent f2d80b0 commit ae05041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/jumps/jumpsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ dprob = DiscreteProblem(js, u₀map, tspan, parammap)
293293
function DiffEqBase.DiscreteProblem(sys::JumpSystem, u0map, tspan::Union{Tuple, Nothing},
294294
parammap = DiffEqBase.NullParameters();
295295
checkbounds = false,
296-
use_union = false,
296+
use_union = true,
297297
kwargs...)
298298
dvs = states(sys)
299299
ps = parameters(sys)

0 commit comments

Comments
 (0)