From 89a4d10352336d50fed55fec61ef39fca1c21696 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Sun, 20 Nov 2016 08:39:41 -0800 Subject: [PATCH] update to () --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 611f7bc1f..b21153115 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,11 +7,11 @@ f = @ode_def_nohes LotkaVolterra begin end a=>1.5 b=>1 c=>3 d=1 prob = ODELocalSensitivityProblem(f,[1.0;1.0],(0.0,30.0)) -sol = solve(prob,DP8) +sol = solve(prob,DP8()) x = vecvec_to_mat([sol[i][1:sol.prob.indvars] for i in 1:length(sol)]) prob2 = ODEProblem(f,[1.0;1.0],(0.0,30.0)) -sol2 = solve(prob2,DP8,adaptive=true,abstol=1,tstops=sol.t) +sol2 = solve(prob2,DP8(),adaptive=true,abstol=1,tstops=sol.t) x2 = vecvec_to_mat(sol2[:]) @test maximum(x2-x) < 1e-12 # Solve the same problem