diff --git a/src/TNL/Matrices/MatrixReader.hpp b/src/TNL/Matrices/MatrixReader.hpp
index 30d8ee6d96ae82c2912d7133c176f0ea5fb23b70..0cf2ceed0a67af9365a00be42e48c4bfe857de89 100644
--- a/src/TNL/Matrices/MatrixReader.hpp
+++ b/src/TNL/Matrices/MatrixReader.hpp
@@ -71,7 +71,6 @@ readMtxFile( std::istream& file,
              Matrix& matrix,
              bool verbose )
 {
-   matrix.setDimensions( 5, 5 );
    IndexType rows, columns;
    bool symmetricSourceMatrix( false );