Skip to content

Commit 9b18754

Browse files
authored
Some typos
jacobain -> jacobian, also changed the typo from #30
1 parent 1940168 commit 9b18754

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ FiniteDiff.GradientCache(
385385
c2 :: Union{Nothing,AbstractArray{<:Number}},
386386
c3 :: Union{Nothing,AbstractArray{<:Number}},
387387
fdtype :: Type{T1} = Val{:central},
388-
returntype :: Type{T2} = eltype(df),
388+
returntype :: Type{T2} = eltype(fx),
389389
inplace :: Type{Val{T3}} = Val{true})
390390
```
391391

@@ -400,7 +400,7 @@ into the differencing algorithm here.
400400
## Jacobians
401401

402402
Jacobians are for functions `f!(fx,x)` when using in-place `finite_difference_jacobian!`,
403-
and `fx = f(x)` when using out-of-place `finite_difference_jacobain`. The out-of-place
403+
and `fx = f(x)` when using out-of-place `finite_difference_jacobian`. The out-of-place
404404
jacobian will return a similar type as `jac_prototype` if it is not a `nothing`. For non-square
405405
Jacobians, a cache which specifies the vector `fx` is required.
406406

0 commit comments

Comments
 (0)