Skip to content

Commit 4b143a1

Browse files
thomvetdevmotion
andauthored
Fix minor typo in advanced.md (#621)
* Fix minor typo in advanced.md * Update docs/src/user/advanced.md Co-authored-by: David Widmann <[email protected]> Co-authored-by: David Widmann <[email protected]>
1 parent 6a19554 commit 4b143a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/user/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ want to disable this checking.
248248

249249
1. (preferred) Provide an extra `Val{false}()` argument to the differentiation function, e.g.
250250
```julia
251-
cfg = ForwarDiff.GradientConfig(g, x)
252-
ForwarDiff.gradient(f, x, cfg, Val{false}())
251+
cfg = ForwardDiff.GradientConfig(g, x)
252+
ForwardDiff.gradient(f, x, cfg, Val{false}())
253253
```
254254
If using as part of a library, the tag can be checked manually via
255255
```julia

0 commit comments

Comments
 (0)