Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
JoshuaLampert and github-actions[bot] authored Sep 15, 2024
1 parent 5cca7f4 commit b9c0e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/bbm_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,6 @@ function hamiltonian!(H, q_global, equations::BBMEquation1D, cache)
(; eta2, tmp1) = cache
@.. eta2 = eta^2
@.. tmp1 = eta^3
@.. H = 1/6 * tmp1 + 1/2 * eta2
@.. H = 1 / 6 * tmp1 + 1 / 2 * eta2
return H
end

0 comments on commit b9c0e0a

Please sign in to comment.