Skip to content

Commit 1b1f835

Browse files
Updates
1 parent c0512f7 commit 1b1f835

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
@@ -68,7 +68,7 @@ function g(resid, u, p)
6868
resid[2:4] .= 0
6969
end
7070

71-
const cb = ManifoldProjection(g, nlopts=Dict(:ftol => 1e-13))
71+
const cb = ManifoldProjection(g, nlopts=Dict(:ftol => 1e-13), autodiff = AutoForwardDiff())
7272

7373
const E = H(iip_p0, iip_q0, nothing)
7474
```

benchmarks/DynamicalODE/Quadrupole_boson_Hamiltonian_energy_conservation_benchmark.jmd

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

6969
const E = H(iip_p0, iip_q0, nothing)
70-
const cb = ManifoldProjection(g, nlopts=Dict(:ftol=>1e-13));
70+
const cb = ManifoldProjection(g, nlopts=Dict(:ftol=>1e-13), autodiff = AutoForwardDiff());
7171
```
7272

7373
For the comparison we will use the following function

0 commit comments

Comments
 (0)