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

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

parent b8a34ab1
No related branches found
No related tags found
1 merge request!34Runge kutta
......@@ -35,7 +35,7 @@ bool TFQMR< 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