diff --git a/src/solve.jl b/src/solve.jl index b9f552a4..c64046c7 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -58,7 +58,7 @@ function resetted_jump_problem(_jump_prob, seed) if !isempty(jump_prob.variable_jumps) @assert jump_prob.prob.u0 isa ExtendedJumpArray - @. jump_prob.prob.u0.jump_u = -randexp(_jump_prob.rng, + @. jump_prob.prob.u0.jump_u = -randexp(_jump_prob.rng, eltype(_jump_prob.prob.tspan)) end jump_prob