Skip to content

Commit 1550787

Browse files
test: use u0_eltype in jumpsystem tests
1 parent a8d14e1 commit 1550787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jumpsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ end
552552
# Works.
553553
@mtkcompile js = JumpSystem([j1, j2], t, [X], [p, d])
554554
jprob = JumpProblem(
555-
js, [X => 15, p => 2.0, d => 0.5], (0.0, 10.0); aggregator = Direct())
555+
js, [X => 15, p => 2.0, d => 0.5], (0.0, 10.0); aggregator = Direct(), u0_eltype = Int)
556556
sol = solve(jprob, SSAStepper())
557557
@test eltype(sol[X]) === Int64
558558
end

0 commit comments

Comments
 (0)