Skip to content

Commit ea92d56

Browse files
fix test suite
1 parent 0858429 commit ea92d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/iif_methods.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ prob = SDEProblem((f1_A,f2),σ,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))
7474

7575
f1_no_noise(t,u,du) = A
7676
f2(t,u,du) = (du .= μ .* u)
77-
function σ2(t,u,du)
77+
function σ22(t,u,du)
7878
du .= 0
7979
end
8080
function (p::typeof(f1_no_noise))(::Type{Val{:analytic}},t,u0,W)
8181
tmp = (A+1.01I)*t
8282
expm(tmp)*u0
8383
end
84-
prob_no_noise = SDEProblem((f1_no_noise,f2),σ2,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))
84+
prob_no_noise = SDEProblem((f1_no_noise,f2),σ22,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))
8585

8686

8787
sol = solve(prob,IIF1M(),dt=1/10)

0 commit comments

Comments
 (0)