From d6c1b215d9e16aa012a13b3237ee718b4e4eddf7 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 1 Mar 2010 10:52:57 +0000 Subject: [PATCH] fix msvc compile --- Geo/ChainComplex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/ChainComplex.cpp b/Geo/ChainComplex.cpp index 2b2b3b5e20..e8e6b71f36 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; -- GitLab