Skip to content

Commit 7d63748

Browse files
gdalledevmotion
andauthored
Fix typo in DerivativeConfig docs (#733)
* Fix typo in DerivativeConfig docs * Update src/config.jl Co-authored-by: David Widmann <[email protected]> --------- Co-authored-by: David Widmann <[email protected]>
1 parent 37c1d50 commit 7d63748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ struct DerivativeConfig{T,D} <: AbstractConfig{1}
6464
end
6565

6666
"""
67-
ForwardDiff.DerivativeConfig(f!, y::AbstractArray, x::AbstractArray)
67+
ForwardDiff.DerivativeConfig(f!, y::AbstractArray, x::Real)
6868
6969
Return a `DerivativeConfig` instance based on the type of `f!`, and the types/shapes of the
70-
output vector `y` and the input vector `x`.
70+
output vector `y` and the input value `x`.
7171
7272
The returned `DerivativeConfig` instance contains all the work buffers required by
7373
`ForwardDiff.derivative` and `ForwardDiff.derivative!` when the target function takes the form

0 commit comments

Comments
 (0)