r94: finished c++ conversions
[ctsim.git] / include / mpiworld.h
index 74042b3fea6706d23fd9692591b0b7a4ea0a8d68..2889821708a0770f44dc58cdd1d3e03db0487258 100644 (file)
@@ -60,7 +60,7 @@ class MPIWorld
     int getMyLocalWorkUnits (void) const
        { return m_vLocalWorkUnits [m_myRank]; }
 
-    MPI::Intracomm getComm() 
+    MPI::Intracomm& getComm() 
       { return m_comm; }
       
 private:
@@ -72,4 +72,3 @@ private:
     MPI::Intracomm m_comm;
 };
 
-