From b03cf72250e7778162c5dd4a2a1bc69f37fb55c3 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 30 Dec 2008 16:24:52 +0000 Subject: [PATCH] MEDMEM Industrialization 2008 minor change --- src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i b/src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i index 570c2b864..435b7ead4 100644 --- a/src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i +++ b/src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i @@ -242,7 +242,7 @@ enum mpi_constants { mpi_comm_world, mpi_comm_self, mpi_double, mpi_int }; case mpi_comm_world: $1 = MPI_COMM_WORLD; break; case mpi_comm_self: $1 = MPI_COMM_SELF; break; default: - PyErr_SetString(PyExc_TypeError,"unexpected value"); + PyErr_SetString(PyExc_TypeError,"unexpected value of MPI_Comm"); return NULL; } } @@ -253,7 +253,7 @@ enum mpi_constants { mpi_comm_world, mpi_comm_self, mpi_double, mpi_int }; case mpi_double: $1 = MPI_DOUBLE; break; case mpi_int: $1 = MPI_INT; break; default: - PyErr_SetString(PyExc_TypeError,"unexpected value"); + PyErr_SetString(PyExc_TypeError,"unexpected value of MPI_Datatype"); return NULL; } } -- 2.39.2