diff --git a/src/TNL/Matrices/MatrixView.h b/src/TNL/Matrices/MatrixView.h
index d52b9a24a8a467087f8a0f493869a3b7cd279dfe..89551018186e279ced32005971ccfe44d7bda918 100644
--- a/src/TNL/Matrices/MatrixView.h
+++ b/src/TNL/Matrices/MatrixView.h
@@ -89,10 +89,12 @@ 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);
 
    protected: