Skip to content

Commit 60e7815

Browse files
authored
Fix docs typos (#463)
1 parent b3c9b0a commit 60e7815

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DifferentiationInterface/src/second_order/hessian.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Create an `extras` object that can be given to [`hessian`](@ref) and its variant
1111
function prepare_hessian end
1212

1313
"""
14-
hessian(f, backend, x, [extras]) -> hess
14+
hessian(f, [extras,] backend, x) -> hess
1515
1616
Compute the Hessian matrix of the function `f` at point `x`.
1717
@@ -20,7 +20,7 @@ $(document_preparation("hessian"))
2020
function hessian end
2121

2222
"""
23-
hessian!(f, hess, backend, x, [extras]) -> hess
23+
hessian!(f, hess, [extras,] backend, x) -> hess
2424
2525
Compute the Hessian matrix of the function `f` at point `x`, overwriting `hess`.
2626

DifferentiationInterface/src/second_order/hvp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $(document_preparation("hvp"; same_point=true))
3030
function hvp end
3131

3232
"""
33-
hvp!(f, dg, [extras,] backend, x, tx) -> tg
33+
hvp!(f, tg, [extras,] backend, x, tx) -> tg
3434
3535
Compute the Hessian-vector product of `f` at point `x` with tangent `tx` of type [`Tangents`](@ref), overwriting `tg`.
3636

0 commit comments

Comments
 (0)