We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c2c96 commit 7364d90Copy full SHA for 7364d90
lib/NonlinearSolveBase/src/descent/halley.jl
@@ -89,7 +89,7 @@ end
89
function evaluate_hvvp(
90
cache::HalleyDescentCache, f::NonlinearFunction{iip}, p, u, δu) where {iip}
91
if iip
92
- binary_f = (y, x) -> f(y, x, p)
+ binary_f = @closure (y, x) -> f(y, x, p)
93
derivative(binary_f, cache.fu, u, δu, Val{3}())
94
else
95
unary_f = Base.Fix2(f, p)
0 commit comments