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

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

parent f4470e69
No related branches found
No related tags found
1 merge request!34Runge kutta
......@@ -166,7 +166,7 @@ solve( ConstVectorViewType b, VectorViewType x )
// compute the new residual vector
compute_residue( r, x, b );
const RealType beta_old = beta;
beta = lpNorm( r.getView(), 2.0 );
beta = lpNorm( r, 2.0 );
this->setResidue( beta / normb );
// update parameters for the adaptivity of the restarting parameter
......
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