Skip to content

Commit

Permalink
fix scoping error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Sep 12, 2017
1 parent 2a96682 commit db687b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/integrators/low_order.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ end
@unpack t,dt,uprev,u,W = integrator
K = @muladd uprev .+ dt.*integrator.f(t,uprev)
L = integrator.g(t,uprev)
mil_correction = zero(u)
if alg_interpretation(integrator.alg) == :Ito
utilde = @. K + L*integrator.sqdt
mil_correction = (integrator.g(t,utilde).-L)./(2 .* integrator.sqdt).*(W.dW.^2 .- dt)
Expand Down

0 comments on commit db687b7

Please sign in to comment.