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;
}
}
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;
}
}