From 76ab79c0e2d01dd514910b54798d6bea6f438242 Mon Sep 17 00:00:00 2001 From: Lukas Cejka <lukas.ostatek@gmail.com> Date: Mon, 8 Apr 2019 17:12:47 +0200 Subject: [PATCH] Added FIXME for const vector sorting. --- src/TNL/Matrices/BiEllpack_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TNL/Matrices/BiEllpack_impl.h b/src/TNL/Matrices/BiEllpack_impl.h index 25ddc30c25..69a994204e 100644 --- a/src/TNL/Matrices/BiEllpack_impl.h +++ b/src/TNL/Matrices/BiEllpack_impl.h @@ -117,6 +117,8 @@ setCompressedRowLengths( ConstCompressedRowLengthsVectorView rowLengths ) // FIXME: cannot sort a const vector! //DeviceDependentCode::performRowBubbleSort( *this, rowLengths ); //DeviceDependentCode::computeColumnSizes( *this, rowLengths ); + + // FIXME: Create a local copy of the const vector to work if. Check if it (rowLengths) is used somewhere else. this->groupPointers.template scan< Algorithms::ScanType::Exclusive >(); -- GitLab