Skip to content

Commit 8b86fac

Browse files
committed
fix: hessian
1 parent 748fb09 commit 8b86fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/NonlinearSolveBase/ext/NonlinearSolveBaseForwardDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function NonlinearSolveBase.additional_incompatible_backend_check(
2020
end
2121

2222
Utils.value(::Type{Dual{T, V, N}}) where {T, V, N} = V
23-
Utils.value(x::Dual) = Utils.value(ForwardDiff.value(x))
23+
Utils.value(x::Dual) = ForwardDiff.value(x)
2424
Utils.value(x::AbstractArray{<:Dual}) = Utils.value.(x)
2525

2626
function NonlinearSolveBase.nonlinearsolve_forwarddiff_solve(

0 commit comments

Comments
 (0)