Skip to content

Commit 61355db

Browse files
committed
should specify atol and rtol
Signed-off-by: ErikQQY <2283984853@qq.com>
1 parent 9dfc6b1 commit 61355db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/NonlinearSolveSIAMFANLEquationsExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function SciMLBase.__solve(prob::NonlinearProblem, alg::SIAMFANLEquationsJL, arg
108108
sol = ptcsol(f!, u, FS, FPS; atol, rtol, maxit = maxiters,
109109
delta0 = delta, printerr = ShT)
110110
elseif method == :anderson
111-
sol = aasol(f!, u, m, zeros(eltype(u), N, 2*m+4), atol, rtol,
111+
sol = aasol(f!, u, m, zeros(T, N, 2*m+4), atol = atol, rtol = rtol,
112112
maxit = maxiters, beta = beta)
113113
end
114114
else

0 commit comments

Comments
 (0)