Skip to content

Commit 6192f62

Browse files
Fix Hessian example
1 parent 017758d commit 6192f62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/hessian.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
"id": "a3ec6532-5b0a-4e4c-af33-bef58c0a7319",
7979
"metadata": {},
8080
"source": [
81-
"Note the use of the `scan_kind` argument to `Tsit5`. By default, Diffrax internally uses constructs that are optimised specifically for first-order reverse mode autodifferentiation. This argument is needed to switch to a different implementation that is compatible with higher-order autodiff. (In this case: for the loop-over-stages in the Runge--Kutta solver.)\n",
81+
"Note the use of the `scan_kind` argument to `Tsit5`. By default, Diffrax internally uses constructs that are optimised specifically for first-order reverse-mode autodifferentiation. This argument is needed to switch to a different implementation that is compatible with higher-order autodiff. (In this case: for the loop-over-stages in the Runge--Kutta solver.)\n",
8282
"\n",
83-
"In similar fashion, if using `saveat=SaveAt(steps=True)` then you will need to pass `adjoint=DirectAdjoint()`. (In this case: for the loop-over-saving output.)"
83+
"In similar fashion, if using `saveat=SaveAt(ts=...)` (or a handful of other esoteric cases) then you will need to pass `adjoint=DirectAdjoint()`. (In this case: for the loop-over-saving output.)"
8484
]
8585
}
8686
],

0 commit comments

Comments
 (0)