aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2004-04-05 10:54:32 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2004-04-05 10:54:32 +0000
commit620f897c58000d57722ae9b2ecea4ec978aa7904 (patch)
treea9e02a414838e8279d39b6e309f59aee87228ee4
parentf895554a8771ec248ffc1f7c2de1f153f8a975c5 (diff)
Do not initialise MPI_Datatype object with integer constants.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@27 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r--src/slab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slab.c b/src/slab.c
index 11fb125..17d0b74 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -160,9 +160,9 @@ void Slab_PrintTimers (void)
# define MPI_REAL16 MPI_LONG_DOUBLE
# endif
-static MPI_Datatype MPI_COMPLEX8 = -1;
-static MPI_Datatype MPI_COMPLEX16 = -1;
-static MPI_Datatype MPI_COMPLEX32 = -1;
+static MPI_Datatype MPI_COMPLEX8;
+static MPI_Datatype MPI_COMPLEX16;
+static MPI_Datatype MPI_COMPLEX32;
#endif