From 3d5ac927a956ee0b6c85d5bf80a25eba9daeaf73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Kl=C3=B6fkorn?=
 <robertk@mathematik.uni-stuttgart.de>
Date: Wed, 14 Apr 2010 12:17:06 +0000
Subject: [PATCH] even smaller change

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1238 0d966ed9-3843-0410-af09-ebfb50bd7c74
---
 src/parallel/mpAccess_STAR.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parallel/mpAccess_STAR.cc b/src/parallel/mpAccess_STAR.cc
index 74f5bfbe0..34ad558eb 100644
--- a/src/parallel/mpAccess_STAR.cc
+++ b/src/parallel/mpAccess_STAR.cc
@@ -242,7 +242,6 @@ vector < vector < double > > MpAccessSTAR_MPI :: gcollect (const vector < double
 
 vector < ObjectStream > MpAccessSTAR_MPI :: gcollect (const ObjectStream & in) const 
 {
-  static const int call_site_id = getNextCallSiteId();
   // number of processes 
   const int np = psize (); 
   
@@ -275,6 +274,7 @@ vector < ObjectStream > MpAccessSTAR_MPI :: gcollect (const ObjectStream & in) c
     char * y = ObjectStream :: allocateBuffer(bufSize);
     assert (y) ;
     
+    static const int call_site_id = getNextCallSiteId();
     // gather all data 
     MY_INT_TEST STAR_Allgatherv (in._buf + in._rb, snum, MPI_BYTE, y, rcounts, displ, MPI_BYTE, _mpiComm, call_site_id) ;
     assert (test == MPI_SUCCESS) ;
-- 
GitLab