diff --git a/src/dfsane.jl b/src/dfsane.jl index 4a0b14544..c7a7361e4 100644 --- a/src/dfsane.jl +++ b/src/dfsane.jl @@ -114,7 +114,7 @@ function SciMLBase.__init(prob::NonlinearProblem{uType, iip}, alg::DFSane, f(fuₙ₋₁, uₙ₋₁) else - f(x) = prob.f(x, p) + f = (x) -> prob.f(x, p) fuₙ₋₁ = f(uₙ₋₁) end