@@ -36,10 +36,8 @@ function SciMLBase.__solve(prob::NonlinearProblem, alg::SIAMFANLEquationsJL, arg
36
36
retcode = ReturnCode. MaxIters
37
37
elseif res. errcode == 1
38
38
retcode = ReturnCode. Failure
39
- @error (" Line search failed" )
40
39
elseif res. errcode == - 1
41
40
retcode = ReturnCode. Default
42
- @info (" Initial iterate satisfies the termination criteria" )
43
41
end
44
42
stats = method == :pseudotransient ? nothing : (SciMLBase. NLStats (res. stats. ifun[1 ], res. stats. ijac[1 ], - 1 , - 1 , res. stats. iarm[1 ]))
45
43
return SciMLBase. build_solution (prob, alg, res. solution, res. history; retcode, stats)
@@ -85,10 +83,8 @@ function SciMLBase.__solve(prob::NonlinearProblem, alg::SIAMFANLEquationsJL, arg
85
83
retcode = ReturnCode. MaxIters
86
84
elseif res. errcode == 1
87
85
retcode = ReturnCode. Failure
88
- @error (" Line search failed" )
89
86
elseif res. errcode == - 1
90
87
retcode = ReturnCode. Default
91
- @info (" Initial iterate satisfies the termination criteria" )
92
88
end
93
89
stats = method == :pseudotransient ? nothing : (SciMLBase. NLStats (res. stats. ifun[1 ], res. stats. ijac[1 ], - 1 , - 1 , res. stats. iarm[1 ]))
94
90
return SciMLBase. build_solution (prob, alg, res. solution, res. history; retcode, stats)
@@ -161,10 +157,8 @@ function SciMLBase.__solve(prob::NonlinearProblem, alg::SIAMFANLEquationsJL, arg
161
157
retcode = ReturnCode. MaxIters
162
158
elseif res. errcode == 1
163
159
retcode = ReturnCode. Failure
164
- @error (" Line search failed" )
165
160
elseif res. errcode == - 1
166
161
retcode = ReturnCode. Default
167
- @info (" Initial iterate satisfies the termination criteria" )
168
162
end
169
163
170
164
0 commit comments