From f0fdad0685a6b5c594a175642574fec5004ef7a4 Mon Sep 17 00:00:00 2001
From: Tuomas Karna <tuomas.karna@uclouvain.be>
Date: Tue, 27 Apr 2010 13:48:18 +0000
Subject: [PATCH] fix compile

---
 Solver/linearSystemGMM.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Solver/linearSystemGMM.h b/Solver/linearSystemGMM.h
index f67e4c7e99..4076478a5b 100644
--- a/Solver/linearSystemGMM.h
+++ b/Solver/linearSystemGMM.h
@@ -46,7 +46,7 @@ class linearSystemGmm : public linearSystem<scalar> {
     }
     _a = 0;
   }
-  virtual void  addToMatrix(int row, int col, scalar &val) 
+  virtual void  addToMatrix(int row, int col, const scalar &val) 
   {
     if(val != 0.0) (*_a)(row, col) += val;
   }
@@ -54,7 +54,7 @@ class linearSystemGmm : public linearSystem<scalar> {
   {
     val = (*_a)(row, col);
   }
-  virtual void addToRightHandSide(int row, scalar &val) 
+  virtual void addToRightHandSide(int row, const scalar &val) 
   {
     if(val != 0.0) (*_b)[row] += val;
   }
-- 
GitLab