From af0d0d5b4404b5ab9926b591f1b8860462815b12 Mon Sep 17 00:00:00 2001 From: Jean-Matthieu Etancelin <jean-matthieu.etancelin@imag.fr> Date: Wed, 13 Nov 2013 14:21:29 +0000 Subject: [PATCH] Fix bug from previous commit --- HySoP/hysop/constants.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HySoP/hysop/constants.py b/HySoP/hysop/constants.py index 929d5d55c..5f1b68e31 100644 --- a/HySoP/hysop/constants.py +++ b/HySoP/hysop/constants.py @@ -18,13 +18,13 @@ else: PI = math.pi # Set default type for real and integer numbers -PARMES_REAL = np.float32 +PARMES_REAL = np.float64 # type for array indices PARMES_INDEX = np.uint32 # type for integers -PARMES_INTEGER = np.int32 +PARMES_INTEGER = np.int64 # float type for MPI messages -PARMES_MPI_REAL = MPI.FLOAT +PARMES_MPI_REAL = MPI.DOUBLE ## default array layout (fortran or C convention) ORDER = 'F' ## Default array layout for MPI -- GitLab