Skip to content

Commit e9588ff

Browse files
Updates
1 parent df72447 commit e9588ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/DynamicalODE/Henon-Heiles_energy_conservation_benchmark.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function g(resid, u, p)
8484
resid[2:4] .= 0
8585
end
8686

87-
const cb = ManifoldProjection(g, nlopts=Dict(:ftol => 1e-13), manifold_jacobian=manifold_jacobian)
87+
const cb = ManifoldProjection(g, nlopts=Dict(:ftol => 1e-13), manifold_jacobian=manifold_jacobian!)
8888
const E = H(iip_p0, iip_q0, nothing)
8989
```
9090

benchmarks/DynamicalODE/Quadrupole_boson_Hamiltonian_energy_conservation_benchmark.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function g(resid, u, p)
8484
end
8585

8686
const E = H(iip_p0, iip_q0, nothing)
87-
const cb = ManifoldProjection(g, nlopts=Dict(:ftol=>1e-13), manifold_jacobian! = manifold_jacobian!);
87+
const cb = ManifoldProjection(g, nlopts=Dict(:ftol=>1e-13), manifold_jacobian = manifold_jacobian!);
8888
```
8989

9090
For the comparison we will use the following function

0 commit comments

Comments
 (0)