diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/slab.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -302,8 +302,7 @@ get_mpi_comm (const cGH * restrict const cctkGH) return PUGH_pGH(cctkGH)->PUGH_COMM_WORLD; } # endif - assert (0); - return -1; + return MPI_COMM_WORLD; #else return 0; #endif @@ -384,7 +383,7 @@ normal_type (int cactustype) /* Find the MPI datatype corresponding to a Cactus datatype */ -static int mpi_type (int const cactustype) +static MPI_Datatype mpi_type (int const cactustype) { int const normaltype = normal_type (cactustype); switch (normaltype) { |