From 8d13b8225bccc41087257f961e8f516bfbfaed75 Mon Sep 17 00:00:00 2001
From: Tomas Oberhuber <tomas.oberhuber@fjfi.cvut.cz>
Date: Tue, 3 Mar 2020 13:35:37 +0100
Subject: [PATCH] Matrix methods for coloring marked as deprecated, method
 Matrix::help was erased.

---
 src/TNL/Matrices/Matrix.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/TNL/Matrices/Matrix.h b/src/TNL/Matrices/Matrix.h
index 4fce8358d6..48e6ebf7c5 100644
--- a/src/TNL/Matrices/Matrix.h
+++ b/src/TNL/Matrices/Matrix.h
@@ -84,16 +84,14 @@ public:
 
 
    // TODO: method for symmetric matrices, should not be in general Matrix interface
+   [[deprecated]]
    __cuda_callable__
    const IndexType& getNumberOfColors() const;
 
    // TODO: method for symmetric matrices, should not be in general Matrix interface
+   [[deprecated]]
    void computeColorsVector(Containers::Vector<Index, Device, Index> &colorsVector);
 
-   // TODO: what is this supposed to do?!?  There are redefinitions only in the
-   // EllpackSymmetricGraph and SlicedEllpackSymmetricGraph classes...
-   bool help( bool verbose = false ) { return true;};
-
    // TODO: copy should be done in the operator= and it should work the other way too
    void copyFromHostToCuda( Matrices::Matrix< Real, Devices::Host, Index >& matrix );
 
@@ -103,7 +101,10 @@ public:
 
    protected:
 
-   IndexType rows, columns, numberOfColors;
+   IndexType rows, columns;
+
+   // TODO: remove1
+   IndexType numberOfColors;
 
    ValuesVectorType values;
 };
-- 
GitLab