From 897b35c3b1548f07fc60962592765a025d88d074 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <oberhuber.tomas@gmail.com>
Date: Sat, 11 Jan 2020 13:53:20 +0100
Subject: [PATCH] Commenting out dated implementation of
 Matrix::getCompressedRowLengths.

---
 src/TNL/Matrices/Matrix.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/TNL/Matrices/Matrix.hpp b/src/TNL/Matrices/Matrix.hpp
index efd26e1fa6..4ddbacde5f 100644
--- a/src/TNL/Matrices/Matrix.hpp
+++ b/src/TNL/Matrices/Matrix.hpp
@@ -72,9 +72,9 @@ template< typename Real,
           typename RealAllocator >
 void Matrix< Real, Device, Index, RealAllocator >::getCompressedRowLengths( CompressedRowLengthsVectorView rowLengths ) const
 {
-   TNL_ASSERT_EQ( rowLengths.getSize(), this->getRows(), "invalid size of the rowLengths vector" );
-   for( IndexType row = 0; row < this->getRows(); row++ )
-      rowLengths.setElement( row, this->getRowLength( row ) );
+   //TNL_ASSERT_EQ( rowLengths.getSize(), this->getRows(), "invalid size of the rowLengths vector" );
+   //for( IndexType row = 0; row < this->getRows(); row++ )
+   //   rowLengths.setElement( row, this->getRowLength( row ) );
 }
 
 template< typename Real,
-- 
GitLab