Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Change ROBER testcase relTol and absTol to arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal Sontakke committed Sep 18, 2016
1 parent d68c1a0 commit f256c4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ let
ydot
end
t = [0., 1e11]
t,y = ode23s(f, [1.0, 0.0, 0.0], t; abstol=1e-9, reltol=1e-9,
t,y = ode23s(f, [1.0, 0.0, 0.0], t; abstol=1e-9*ones(3), reltol=1e-9*ones(3),
maxstep=1e11/10, minstep=1e11/1e18)

refsol = [0.2083340149701255e-07,
0.8333360770334713e-13,
0.9999999791665050] # reference solution at tspan[2]
@test norm(refsol-y[end], Inf) < 2e-10
end

include("interface-tests.jl")

println("All looks OK")

0 comments on commit f256c4d

Please sign in to comment.