From: eap Date: Tue, 30 Dec 2008 16:24:52 +0000 (+0000) Subject: MEDMEM Industrialization 2008 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b03cf72250e7778162c5dd4a2a1bc69f37fb55c3;p=tools%2Fmedcoupling.git MEDMEM Industrialization 2008 minor change --- 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; } }