Skip to content

Commit

Permalink
Relax dopri5 regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Oct 25, 2019
1 parent 3aba09f commit 85d7578
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/odeinterface/odeinterface_regression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ sol1 =solve(probnum,DP5())
sol2 =solve(probnum,tabalg,beta2=0.04,beta1=0.17)
sol3 =solve(probnum,dopri5())

@test sol1.t sol2.t sol3.t
@test sol1.t sol2.t
@test sol1.t sol3.t atol=1e-6

sol1 =solve(prob,DP5(),dt=1/8)
sol2 =solve(prob,tabalg,beta2=0.04,beta1=0.17,dt=1/8)
sol3 =solve(prob,dopri5(),dt=1/8)

@test sol1.t sol2.t sol3.t
@test sol1.t sol2.t
@test sol1.t sol3.t atol=1e-5

sol4 =solve(prob,DP5(),dt=1/8,calck=false)

Expand Down

0 comments on commit 85d7578

Please sign in to comment.