We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac63d46 commit ff2950dCopy full SHA for ff2950d
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