mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
Fix segmentation fault introduced in 78dfd10
: missing local variable name was causing the global variable to be used
This commit is contained in:
parent
78dfd10475
commit
606485f00c
@ -251,7 +251,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
|
|||||||
}, py::call_guard<py::gil_scoped_release>())
|
}, py::call_guard<py::gil_scoped_release>())
|
||||||
.def("GenerateMesh", [](shared_ptr<OCCGeometry> geo,
|
.def("GenerateMesh", [](shared_ptr<OCCGeometry> geo,
|
||||||
MeshingParameters* pars, NgMPI_Comm comm,
|
MeshingParameters* pars, NgMPI_Comm comm,
|
||||||
shared_ptr<Mesh>, py::kwargs kwargs)
|
shared_ptr<Mesh> mesh, py::kwargs kwargs)
|
||||||
{
|
{
|
||||||
MeshingParameters mp;
|
MeshingParameters mp;
|
||||||
OCCParameters occparam;
|
OCCParameters occparam;
|
||||||
|
Loading…
Reference in New Issue
Block a user