From f792d76cd1f673571718bf511a6db77a47650f3d Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Mon, 15 May 2017 07:03:03 -0700 Subject: [PATCH] fix static arrays 0.6 tests --- test/static_array_tests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/static_array_tests.jl b/test/static_array_tests.jl index 78255ad66..ae41a5f7e 100644 --- a/test/static_array_tests.jl +++ b/test/static_array_tests.jl @@ -16,12 +16,12 @@ sol = solve(ode, EM(), dt=1.e-2) #sol = solve(ode, SRIW1(), dt=1.e-2) -u0 = zero(MVector{2,Float64}) + 1 +u0 = ones(MVector{2,Float64}) ode = SDEProblem(f, f, u0, (0.,1.)) sol = solve(ode, EM(), dt=1.e-2) sol = solve(ode, SRIW1()) -u0 = zero(SVector{2,Float64}) + 1 +u0 = ones(SVector{2,Float64}) f = (t,u) -> u prob = SDEProblem(f, f, u0, (0.,1.)) sol = solve(ode, EM(), dt=1.e-2)