Skip to content

Commit eca23ea

Browse files
update tests to common interface
1 parent a09070e commit eca23ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ f = @ode_def_nohes LotkaVolterraTest begin
1111
end a=>1.5 b=1.0 c=3.0 d=1.0
1212

1313
u0 = [1.0;1.0]
14-
tspan = [0;10.0]
15-
prob = ODEProblem(f,u0)
16-
sol = solve(prob,tspan) # this uses most of the tools
14+
tspan = (0.0,10.0)
15+
prob = ODEProblem(f,u0,tspan)
16+
sol = solve(prob) # this uses most of the tools
1717

1818
t = collect(linspace(0,10,200))
1919
randomized = [(sol(t[i]) + .01randn(2)) for i in 1:length(t)]

0 commit comments

Comments
 (0)