Skip to content

Commit

Permalink
Fixup 2
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Jun 7, 2024
1 parent 30c9c86 commit 07ccb26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function DI.prepare_second_derivative(f::F, backend::AutoForwardDiff, x) where {
end

function DI.second_derivative(
f::F, ::AutoForwardDiff, x, ::NoSecondDerivativeExtras
f::F, backend::AutoForwardDiff, x, ::NoSecondDerivativeExtras
) where {F}
T = tag_type(f, backend, x)
xdual = make_dual(T, x, one(x))
Expand All @@ -78,7 +78,7 @@ function DI.second_derivative(
end

function DI.second_derivative!(
f::F, der2, ::AutoForwardDiff, x, ::NoSecondDerivativeExtras
f::F, der2, backend::AutoForwardDiff, x, ::NoSecondDerivativeExtras
) where {F}
T = tag_type(f, backend, x)
xdual = make_dual(T, x, one(x))
Expand Down

0 comments on commit 07ccb26

Please sign in to comment.