Skip to content

Commit 1326704

Browse files
Rogerluonickrobinson251
andauthored
Update src/grad.jl
Co-Authored-By: Nick Robinson <npr251@gmail.com>
1 parent a555a2c commit 1326704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function grad(fdm, f, xs...)
3838
end
3939

4040
"""
41-
jacobian(fdm, f, xs::Union{Real, AbstractArray{<:Real}}[; dim::Int=length(f(x))])
41+
jacobian(fdm, f, xs::Union{Real, AbstractArray{<:Real}}; dim::Int=length(f(x)))
4242
4343
Approximate the Jacobian of `f` at `x` using `fdm`. `f(x)` must be a length `D` vector. If
4444
`D` is not provided, then `f(x)` is computed once to determine the output size.

0 commit comments

Comments
 (0)