mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-14 22:33:08 +05:00
Segment numpy-descriptor 'index' changed to si
This commit is contained in:
parent
913ede1cae
commit
15ffcbae8e
@ -599,7 +599,11 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
py::format_descriptor<int[3]>::format(),
|
||||
py::detail::npy_format_descriptor<int[3]>::dtype() },
|
||||
py::detail::field_descriptor {
|
||||
"index", offsetof(Segment, edgenr), sizeof(int),
|
||||
"index", offsetof(Segment, si), sizeof(int),
|
||||
py::format_descriptor<int>::format(),
|
||||
py::detail::npy_format_descriptor<int>::dtype() },
|
||||
py::detail::field_descriptor {
|
||||
"edgenr", offsetof(Segment, edgenr), sizeof(int),
|
||||
py::format_descriptor<int>::format(),
|
||||
py::detail::npy_format_descriptor<int>::dtype() },
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user