Skip to content

Commit

Permalink
fix Lamba adaptivity
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Apr 19, 2018
1 parent 43fd96c commit 64ac464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/perform_step/lamba.jl
Expand Up @@ -60,7 +60,7 @@ end
@. tmp = @muladd K + g_sized*integrator.sqdt
integrator.g(gtmp,tmp,p,t)
g_sized2 = norm(gtmp,2)
@. dW_cache = dW.^2 - dt
@. dW_cache = W.dW.^2 - dt
diff_tmp = integrator.opts.internalnorm(dW_cache)
En = (g_sized2-g_sized)/(2integrator.sqdt)*diff_tmp
@. tmp = En
Expand Down

0 comments on commit 64ac464

Please sign in to comment.