Skip to content

Commit 7c1a353

Browse files
Fix old RODE call
1 parent 38751d2 commit 7c1a353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rode_linear_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tspan = (0.0,1.0)
66
prob = RODEProblem(f,u0,tspan)
77
sol = solve(prob,RandomEM(),dt=1/100)
88

9-
f(u,p,t,W,du) = (du.=1.01u.+0.87u.*W)
9+
f(du,u,p,t,W) = (du.=1.01u.+0.87u.*W)
1010
u0 = ones(4)
1111
prob = RODEProblem(f,u0,tspan)
1212
sol = solve(prob,RandomEM(),dt=1/100)

0 commit comments

Comments
 (0)