Skip to content

Commit ad50711

Browse files
authored
Remove repeated norm_inf calculation in bicgsolver. (#4205)
1 parent f46a4e5 commit ad50711

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Src/LinearSolvers/MLMG/AMReX_MLCGSolver.H

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ MLCGSolverT<MF>::solve_bicgstab (MF& sol, const MF& rhs, RT eps_rel, RT eps_abs)
182182
Saxpy(sol, alpha, p, 0, 0, ncomp, nghost); // sol += alpha * p
183183
Saxpy(r, -alpha, v, 0, 0, ncomp, nghost); // r += -alpha * v
184184

185-
rnorm = norm_inf(r);
186185
rnorm = norm_inf(r);
187186

188187
if ( verbose > 2 && ParallelDescriptor::IOProcessor() )

0 commit comments

Comments
 (0)