diff --git a/src/Base/MPMD.cpp b/src/Base/MPMD.cpp index 155bea34..53ad99b6 100644 --- a/src/Base/MPMD.cpp +++ b/src/Base/MPMD.cpp @@ -105,7 +105,7 @@ void init_MPMD(py::module &m) { // only checks same layout, e.g. an `int` in `PyObject` could // pass this if (!py::isinstance >( - app_comm_py.get_type())) + py::type::of(app_comm_py))) // TODO add mpi4py version from above import check to error // message throw std::runtime_error(