diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index ca799e18..837b62a6 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -599,7 +599,11 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) py::format_descriptor::format(), py::detail::npy_format_descriptor::dtype() }, py::detail::field_descriptor { - "index", offsetof(Segment, edgenr), sizeof(int), + "index", offsetof(Segment, si), sizeof(int), + py::format_descriptor::format(), + py::detail::npy_format_descriptor::dtype() }, + py::detail::field_descriptor { + "edgenr", offsetof(Segment, edgenr), sizeof(int), py::format_descriptor::format(), py::detail::npy_format_descriptor::dtype() }, });