From 1ad95b08282c25f4f987270a38587658b62ab954 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 12:04:13 +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 0f00e45a47..c33cd27c95 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 );
       }
    }
-- 
GitLab