diff --git a/Geo/ChainComplex.cpp b/Geo/ChainComplex.cpp
index 2b2b3b5e20682c6fd486bdd1deb2bf5aca3e35f1..e8e6b71f36812ceb3ac993e929fdf3d8161acaef 100644
--- a/Geo/ChainComplex.cpp
+++ b/Geo/ChainComplex.cpp
@@ -390,8 +390,8 @@ void ChainComplex::computeHomology(bool dual)
 
 void ChainComplex::matrixTest()
 {  
-  int rows = 3;
-  int cols = 6;
+  const int rows = 3;
+  const int cols = 6;
   
   long int elems[rows*cols];
   for(int i = 1; i<=rows*cols; i++) elems[i-1] = i;