From f9f4056211e5c829c9bbf27e2220acb0d8b6a1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <oberhuber.tomas@gmail.com> Date: Sun, 31 Jan 2021 11:19:38 +0100 Subject: [PATCH] Fixed base matrix type in dense matrix. --- src/TNL/Matrices/DenseMatrix.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TNL/Matrices/DenseMatrix.hpp b/src/TNL/Matrices/DenseMatrix.hpp index 844fe576b4..13c8167fcb 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(); } -- GitLab