Loading src/implementation/matrices/tnlMultidiagonalMatrix_impl.h +1 −2 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ bool tnlMultidiagonalMatrix< Real, Device, Index > :: setDiagonals( const Index if( this->rows != 0 && this->columns != 0 ) { if( ! this->values.setSize( Min( this->rows, this->columns ) * this->diagonalsShift.getSize() ) ) return false;\ return false; this->values.setValue( 0.0 ); } return true; Loading Loading @@ -400,5 +400,4 @@ bool tnlMultidiagonalMatrix< Real, Device, Index >::getElementIndex( const Index return false; } #endif /* TNLMULTIDIAGONALMATRIX_IMPL_H_ */ Loading
src/implementation/matrices/tnlMultidiagonalMatrix_impl.h +1 −2 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ bool tnlMultidiagonalMatrix< Real, Device, Index > :: setDiagonals( const Index if( this->rows != 0 && this->columns != 0 ) { if( ! this->values.setSize( Min( this->rows, this->columns ) * this->diagonalsShift.getSize() ) ) return false;\ return false; this->values.setValue( 0.0 ); } return true; Loading Loading @@ -400,5 +400,4 @@ bool tnlMultidiagonalMatrix< Real, Device, Index >::getElementIndex( const Index return false; } #endif /* TNLMULTIDIAGONALMATRIX_IMPL_H_ */