array numpy buffer protocol

This commit is contained in:
Christopher Lackner
2019-09-10 23:01:05 +02:00
parent d6ebe15c17
commit 5288af641c
4 changed files with 66 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ using std::string;
namespace ngcore
{
bool ngcore_have_numpy = false;
void SetFlag(Flags &flags, string s, py::object value)
{
if (py::isinstance<py::dict>(value))