Commit b6185357 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Cleaned up unused variables in the GMRES solver

parent 2bc54529
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;