Skip to content
Snippets Groups Projects
Commit b6185357 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Cleaned up unused variables in the GMRES solver

parent 2bc54529
No related branches found
No related tags found
No related merge requests found
......@@ -97,9 +97,7 @@ class tnlGMRESSolver : public tnlObject,
tnlVector< RealType, DeviceType, IndexType > _r, _w, _v, _M_tmp;
tnlVector< RealType, tnlHost, IndexType > _s, _cs, _sn, _H;
IndexType size, restarting, maxIterations;
RealType maxResidue;
IndexType size, restarting;
const MatrixType* matrix;
const PreconditionerType* preconditioner;
......
......@@ -384,7 +384,7 @@ bool tnlGMRESSolver< Matrix, Preconditioner > :: setSize( IndexType _size, Index
! _H. setSize( ( restarting + 1 ) * restarting ) ||
! _M_tmp. setSize( size ) )
{
cerr << "I could not allocated all supporting arrays for the CG solver." << endl;
cerr << "I could not allocate all supporting arrays for the GMRES solver." << endl;
return false;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment