Skip to content

Commit

Permalink
Merge fc76440 into d3fff74
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Dec 22, 2018
2 parents d3fff74 + fc76440 commit 147497d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/perform_step/symplectic_perform_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ end
u = uprev + dt*kuprev
# Now actually compute the step
# Do it at the end for interpolations!
kdu = f.f1(duprev,uprev,p,t)
kdu = f.f1(duprev,u,p,t)
du = duprev + dt*kdu
ku = f.f2(du,uprev,p,t)

Expand Down Expand Up @@ -62,7 +62,7 @@ end
@. u = uprev + dt*kuprev
# Now actually compute the step
# Do it at the end for interpolations!
f.f1(kdu,duprev,uprev,p,t)
f.f1(kdu,duprev,u,p,t)
@. du = duprev + dt*kdu
f.f2(ku,du,uprev,p,t)
end
Expand Down

0 comments on commit 147497d

Please sign in to comment.