Commit 27c3da9b authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixinf the multidiagonal matrix.

parent d1eeb489
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
@@ -400,5 +400,4 @@ bool tnlMultidiagonalMatrix< Real, Device, Index >::getElementIndex( const Index
   return false;
}


#endif /* TNLMULTIDIAGONALMATRIX_IMPL_H_ */