diff --git a/src/TNL/Solvers/Linear/BICGStab_impl.h b/src/TNL/Solvers/Linear/BICGStab_impl.h index 0f00e45a475061ab3b86de24573e46265798a941..c33cd27c95659bc5ca972e0123bad8fde15e4dd1 100644 --- a/src/TNL/Solvers/Linear/BICGStab_impl.h +++ b/src/TNL/Solvers/Linear/BICGStab_impl.h @@ -151,7 +151,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x ) /**** * Use the "orthogonal residue vector" for stopping. */ - const RealType residue = lpNorm( r.getView(), 2.0 ); + const RealType residue = lpNorm( r, 2.0 ); this->setResidue( residue / b_norm ); } }