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

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

parent 1c62bc9a
No related branches found
No related tags found
1 merge request!34Runge kutta
......@@ -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 );
......
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