Fix segmentation fault introduced in 78dfd10: missing local variable name was causing the global variable to be used

This commit is contained in:
Francesco Ballarin 2022-09-01 21:24:42 +02:00
parent 78dfd10475
commit 606485f00c

View File

@ -251,7 +251,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
}, py::call_guard<py::gil_scoped_release>())
.def("GenerateMesh", [](shared_ptr<OCCGeometry> geo,
MeshingParameters* pars, NgMPI_Comm comm,
shared_ptr<Mesh>, py::kwargs kwargs)
shared_ptr<Mesh> mesh, py::kwargs kwargs)
{
MeshingParameters mp;
OCCParameters occparam;