From 86c615dd3e6498cee4b90142ace221d392f3ade1 Mon Sep 17 00:00:00 2001
From: Van Dung Nguyen <vandung.nguyen@ulg.ac.be>
Date: Thu, 21 Apr 2016 08:03:06 +0000
Subject: [PATCH] change func

---
 Solver/linearSystemPETSc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Solver/linearSystemPETSc.h b/Solver/linearSystemPETSc.h
index df480e95b0..646e065d07 100644
--- a/Solver/linearSystemPETSc.h
+++ b/Solver/linearSystemPETSc.h
@@ -121,7 +121,7 @@ class linearSystemPETSc : public linearSystem<scalar> {
   //std::vector<int> getColumnsIndices();
   #ifndef SWIG
   linearSystemPETSc(MPI_Comm com);
-  MPI_Comm& getComm() {return _comm;}
+  MPI_Comm getComm() const {return _comm;}
   #endif
   linearSystemPETSc();
 };
-- 
GitLab