Skip to content

Commit

Permalink
Fix forwarddiff docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Feb 1, 2020
1 parent a802bd5 commit c8dd496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/forward.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ reshape_scalar(x::Real, y) = y[]
"""
forwarddiff(f, x) -> f(x)
Runs `f(x)` as usual, but instructs Zygote to differentiate `f` using pullback
Runs `f(x)` as usual, but instructs Zygote to differentiate `f` using forward
mode, rather than the usual reverse mode.
Forward mode takes time linear in `length(x)` but only has constant memory
Expand Down

0 comments on commit c8dd496

Please sign in to comment.