diff --git a/src/TNL/Matrices/DenseMatrix.hpp b/src/TNL/Matrices/DenseMatrix.hpp index 844fe576b4d67ba4b7b6de994b49103b4d57e9b1..13c8167fcb8ca7ce5913c8bd4ca6b59774c2ed50 100644 --- a/src/TNL/Matrices/DenseMatrix.hpp +++ b/src/TNL/Matrices/DenseMatrix.hpp @@ -158,7 +158,7 @@ DenseMatrix< Real, Device, Index, Organization, RealAllocator >:: setDimensions( const IndexType rows, const IndexType columns ) { - Matrix< Real, Device, Index >::setDimensions( rows, columns ); + Matrix< Real, Device, Index, RealAllocator >::setDimensions( rows, columns ); this->segments.setSegmentsSizes( rows, columns ); this->values.setSize( rows * columns ); this->values = 0.0; @@ -1182,7 +1182,7 @@ template< typename Real, typename RealAllocator > void DenseMatrix< Real, Device, Index, Organization, RealAllocator >::load( File& file ) { - Matrix< Real, Device, Index >::load( file ); + Matrix< Real, Device, Index, RealAllocator >::load( file ); this->segments.load( file ); this->view = this->getView(); }