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

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

parent 414a6277
No related branches found
No related tags found
1 merge request!34Runge kutta
...@@ -61,7 +61,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x ) ...@@ -61,7 +61,7 @@ bool BICGStab< Matrix >::solve( ConstVectorViewType b, VectorViewType x )
this->preconditioner->solve( M_tmp, r ); this->preconditioner->solve( M_tmp, r );
} }
else { else {
b_norm = lpNorm( b.getView(), 2.0 ); b_norm = lpNorm( b, 2.0 );
this->matrix->vectorProduct( x, r ); this->matrix->vectorProduct( x, r );
r.addVector( b, 1.0, -1.0 ); r.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