Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/user/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ want to disable this checking.

1. (preferred) Provide an extra `Val{false}()` argument to the differentiation function, e.g.
```julia
cfg = ForwarDiff.GradientConfig(g, x)
ForwarDiff.gradient(f, x, cfg, Val{false}())
cfg = ForwardDiff.GradientConfig(g, x)
ForwardDiff.gradient(f, x, cfg, Val{false}())
```
If using as part of a library, the tag can be checked manually via
```julia
Expand Down