mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
163135981e
Functions with a python typed argument (kwargs in this case) cannot use py::call_guard<py::gil_scoped_release>() because it means, the GIL is not held when the function returns (and cleans up arguments/temporary variables). Thus, remove the global call guard and create a local variable py::gil_scoped_release gil_release; after arguments are processed and before meshing starts. This local variable is destroyed before the function returns (acquiring the GIL again). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
csg2d.cpp | ||
csg2d.hpp | ||
genmesh2d.cpp | ||
geom2dpkg.cpp | ||
geometry2d.cpp | ||
geometry2d.hpp | ||
python_geom2d.cpp | ||
spline2d.hpp | ||
vsgeom2d.cpp | ||
vsgeom2d.hpp |