1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-04-25 19:02:04 +05:00

makePyTuple from BaseArrayObject

This commit is contained in:
Joachim Schoeberl 2024-04-04 15:20:09 +02:00
parent 6e2eae70ad
commit a393a315d0

@ -259,7 +259,8 @@ namespace ngcore
}
template <typename T>
py::object makePyTuple (FlatArray<T> ar)
// py::object makePyTuple (FlatArray<T> ar)
py::object makePyTuple (const BaseArrayObject<T> & ar)
{
py::tuple res(ar.Size());
for (auto i : Range(ar))