Loading src/solvers/linear/krylov/tnlGMRESSolver.h +1 −3 Original line number Diff line number Diff line Loading @@ -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; Loading src/solvers/linear/krylov/tnlGMRESSolver_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
src/solvers/linear/krylov/tnlGMRESSolver.h +1 −3 Original line number Diff line number Diff line Loading @@ -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; Loading
src/solvers/linear/krylov/tnlGMRESSolver_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading