From 414a62777e1383f5244afa7b21cef78ce6419b51 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:48:50 +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 bfd37171b4..c03e4d27ed 100644
--- a/src/TNL/Solvers/Linear/BICGStab_impl.h
+++ b/src/TNL/Solvers/Linear/BICGStab_impl.h
@@ -54,7 +54,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x )
 
    if( this->preconditioner ) {
       this->preconditioner->solve( b, M_tmp );
-      b_norm = lpNorm( M_tmp.getView(), ( RealType ) 2.0 );
+      b_norm = lpNorm( M_tmp, 2.0 );
 
       this->matrix->vectorProduct( x, M_tmp );
       M_tmp.addVector( b, 1.0, -1.0 );
-- 
GitLab