Skip to content
Snippets Groups Projects
Commit 1ad95b08 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Apply suggestion to src/TNL/Solvers/Linear/BICGStab_impl.h

parent 0d2c5d9f
No related branches found
No related tags found
1 merge request!34Runge kutta
...@@ -151,7 +151,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x ) ...@@ -151,7 +151,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x )
/**** /****
* Use the "orthogonal residue vector" for stopping. * 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 ); this->setResidue( residue / b_norm );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment