diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 598ca9a3..96632e19 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -868,7 +868,8 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) } MeshVolume (mp, self); OptimizeVolume (mp, self); - }, meshingparameter_description.c_str(), + }, py::arg("mp")=nullptr, + meshingparameter_description.c_str(), py::call_guard()) .def ("OptimizeVolumeMesh", [](Mesh & self)