Skip to content
Snippets Groups Projects
Commit 897b35c3 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Commenting out dated implementation of Matrix::getCompressedRowLengths.

parent 43533ef1
No related branches found
No related tags found
1 merge request!48Segments
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment