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

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

parent 0d1f8fd1
No related branches found
No related tags found
1 merge request!34Runge kutta
......@@ -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 {
......
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