Skip to content

Commit

Permalink
Remove repeated norm_inf calculation in bicgsolver. (#4205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankithadas authored Nov 7, 2024
1 parent f46a4e5 commit ad50711
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Src/LinearSolvers/MLMG/AMReX_MLCGSolver.H
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ MLCGSolverT<MF>::solve_bicgstab (MF& sol, const MF& rhs, RT eps_rel, RT eps_abs)
Saxpy(sol, alpha, p, 0, 0, ncomp, nghost); // sol += alpha * p
Saxpy(r, -alpha, v, 0, 0, ncomp, nghost); // r += -alpha * v

rnorm = norm_inf(r);
rnorm = norm_inf(r);

if ( verbose > 2 && ParallelDescriptor::IOProcessor() )
Expand Down

0 comments on commit ad50711

Please sign in to comment.