diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 1d22044b..8881123b 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -124,6 +124,8 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) .value("CLOSEEDGES", Identifications::CLOSEEDGES) ; + py::implicitly_convertible(); + py::class_ (m, "MPI_Comm") #ifdef NG_MPI4PY .def(py::init([] (mpi4py_comm comm)