]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MEDMEM Industrialization 2008
authoreap <eap@opencascade.com>
Tue, 30 Dec 2008 16:24:52 +0000 (16:24 +0000)
committereap <eap@opencascade.com>
Tue, 30 Dec 2008 16:24:52 +0000 (16:24 +0000)
  minor change

src/ParaMEDMEM_Swig/libParaMEDMEM_Swig.i

index 570c2b8643a96e3f1f1f66654e1c79db9ef9fa2d..435b7ead466b08a46e4b0c855d2ac847bdeabe0e 100644 (file)
@@ -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;
   }
 }