mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix typo
This commit is contained in:
parent
03e21d5c5f
commit
3531f9c9d4
@ -1544,7 +1544,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
|||||||
};
|
};
|
||||||
|
|
||||||
py::class_<ListOfShapes> (m, "ListOfShapes")
|
py::class_<ListOfShapes> (m, "ListOfShapes")
|
||||||
.def(py::init<vector<TopoDS_Shape>())
|
.def(py::init<vector<TopoDS_Shape>>())
|
||||||
.def("__iter__", [](ListOfShapes &s) {
|
.def("__iter__", [](ListOfShapes &s) {
|
||||||
return py::make_iterator(ListOfShapesIterator(&*s.begin()),
|
return py::make_iterator(ListOfShapesIterator(&*s.begin()),
|
||||||
ListOfShapesIterator(&*s.end()));
|
ListOfShapesIterator(&*s.end()));
|
||||||
|
Loading…
Reference in New Issue
Block a user