Skip to content

Commit 7364d90

Browse files
avik-paltansongchen
authored andcommitted
Update src/descent/halley.jl
1 parent a4c2c96 commit 7364d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/NonlinearSolveBase/src/descent/halley.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ end
8989
function evaluate_hvvp(
9090
cache::HalleyDescentCache, f::NonlinearFunction{iip}, p, u, δu) where {iip}
9191
if iip
92-
binary_f = (y, x) -> f(y, x, p)
92+
binary_f = @closure (y, x) -> f(y, x, p)
9393
derivative(binary_f, cache.fu, u, δu, Val{3}())
9494
else
9595
unary_f = Base.Fix2(f, p)

0 commit comments

Comments
 (0)