diff --git a/src/algebra/SparseMatrixDescriptor.hpp b/src/algebra/SparseMatrixDescriptor.hpp
index 37b82d0b19b95f5c2f7fa67b2d6661270bf477e6..badfb96305c72dbe5777c689a0861dfed299ff51 100644
--- a/src/algebra/SparseMatrixDescriptor.hpp
+++ b/src/algebra/SparseMatrixDescriptor.hpp
@@ -137,7 +137,7 @@ class SparseMatrixDescriptor
     return values;
   }
 
-  SparseMatrixDescriptor(IndexType nb_row) : m_row_array{nb_row} {}
+  SparseMatrixDescriptor(size_t nb_row) : m_row_array{nb_row} {}
 
   ~SparseMatrixDescriptor() = default;
 };