From fbc34f6a97c13ec865ef7969b9704533222ed408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <tomas.oberhuber@fjfi.cvut.cz> Date: Mon, 15 Jul 2019 11:49:06 +0200 Subject: [PATCH] Apply suggestion to src/TNL/Solvers/Linear/BICGStab_impl.h --- src/TNL/Solvers/Linear/BICGStab_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TNL/Solvers/Linear/BICGStab_impl.h b/src/TNL/Solvers/Linear/BICGStab_impl.h index 292dcaf173..0f00e45a47 100644 --- a/src/TNL/Solvers/Linear/BICGStab_impl.h +++ b/src/TNL/Solvers/Linear/BICGStab_impl.h @@ -144,7 +144,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x ) this->matrix->vectorProduct( x, s ); s.addVector( b, 1.0, -1.0 ); } - const RealType residue = lpNorm( s.getView(), 2.0 ); + const RealType residue = lpNorm( s, 2.0 ); this->setResidue( residue / b_norm ); } else { -- GitLab