Skip to content

Commit

Permalink
fix test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Dec 30, 2017
1 parent 0858429 commit ea92d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/iif_methods.jl
Expand Up @@ -74,14 +74,14 @@ prob = SDEProblem((f1_A,f2),σ,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))

f1_no_noise(t,u,du) = A
f2(t,u,du) = (du .= μ .* u)
function σ2(t,u,du)
function σ22(t,u,du)
du .= 0
end
function (p::typeof(f1_no_noise))(::Type{Val{:analytic}},t,u0,W)
tmp = (A+1.01I)*t
expm(tmp)*u0
end
prob_no_noise = SDEProblem((f1_no_noise,f2),σ2,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))
prob_no_noise = SDEProblem((f1_no_noise,f2),σ22,u0,(0.0,1.0),noise_rate_prototype=rand(2,2))


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

0 comments on commit ea92d56

Please sign in to comment.