Skip to content

Commit db687b7

Browse files
fix scoping error
1 parent 2a96682 commit db687b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/integrators/low_order.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ end
100100
@unpack t,dt,uprev,u,W = integrator
101101
K = @muladd uprev .+ dt.*integrator.f(t,uprev)
102102
L = integrator.g(t,uprev)
103+
mil_correction = zero(u)
103104
if alg_interpretation(integrator.alg) == :Ito
104105
utilde = @. K + L*integrator.sqdt
105106
mil_correction = (integrator.g(t,utilde).-L)./(2 .* integrator.sqdt).*(W.dW.^2 .- dt)

0 commit comments

Comments
 (0)