mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
makePyTuple from BaseArrayObject
This commit is contained in:
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))
|
||||
|
Loading…
Reference in New Issue
Block a user