Skip to content

Commit df72447

Browse files
Updates
1 parent cba1364 commit df72447

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

benchmarks/DynamicalODE/Henon-Heiles_energy_conservation_benchmark.jmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ gr(fmt=:png)
2525
default(fmt=:png)
2626

2727
T(p) = 1//2 * norm(p)^2
28-
V(q) = 1//2 * (q[1]^2 + q[2]^2 + 2 * q[1]^2 * q[2] - 2//3 * q[2]^3)
28+
V(q) = 1//2 * (q[1]^2 + q[2]^2 + 2*q[1]^2 * q[2] - 2//3 * q[2]^3)
2929
H(p, q, params) = T(p) + V(q)
3030

3131
function iip_dq(dq, p, q, params, t)
@@ -85,7 +85,6 @@ function g(resid, u, p)
8585
end
8686

8787
const cb = ManifoldProjection(g, nlopts=Dict(:ftol => 1e-13), manifold_jacobian=manifold_jacobian)
88-
8988
const E = H(iip_p0, iip_q0, nothing)
9089
```
9190

0 commit comments

Comments
 (0)