Skip to content

Commit 63cddc6

Browse files
Update events.jl for InternalITP changes
Needed due to SciML/DiffEqBase.jl#1137
1 parent 007ef25 commit 63cddc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integrators/events.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const alg = MethodOfSteps(Tsit5(); constrained = false)
1313
ts = findall(x -> x 2.6, sol1.t)
1414
@test length(ts) == 2
1515
@test sol1.u[ts[1]] == -sol1.u[ts[2]]
16-
@test sol1(prevfloat(2.6);
17-
continuity = :right)-sol1(prevfloat(2.6); continuity = :left) atol=1e-5
16+
@test sol1(2.6;
17+
continuity = :right)-sol1(2.6; continuity = :left) atol=1e-5
1818

1919
# fails on 32bit?!
2020
# see https://github.com/SciML/DelayDiffEq.jl/pull/180
@@ -23,8 +23,8 @@ const alg = MethodOfSteps(Tsit5(); constrained = false)
2323
ts = findall(x -> x 2.6, sol2.t)
2424
@test length(ts) == 2
2525
@test sol2.u[ts[1]] == -sol2.u[ts[2]]
26-
@test sol2(prevfloat(2.6); continuity = :right)
27-
-sol2(prevfloat(2.6); continuity = :left)
26+
@test sol2(2.6; continuity = :right)
27+
-sol2(2.6; continuity = :left)
2828

2929
sol3 = appxtrue(sol1, sol2)
3030
@test sol3.errors[:L2] < 1.5e-2

0 commit comments

Comments
 (0)