diff --git a/libsrc/core/python_ngcore.cpp b/libsrc/core/python_ngcore.cpp index f7addf3c..7503a9d1 100644 --- a/libsrc/core/python_ngcore.cpp +++ b/libsrc/core/python_ngcore.cpp @@ -39,7 +39,7 @@ namespace ngcore auto vdl = py::cast(value); if (py::len(vdl) > 0) { - if(py::isinstance(vdl[0])) + if(py::isinstance(vdl[0]) || py::isinstance(vdl[0])) flags.SetFlag(s, makeCArray(vdl)); if(py::isinstance(vdl[0])) flags.SetFlag(s, makeCArray(vdl));