diff --git a/boost/numpy/ndarray.hpp b/boost/numpy/ndarray.hpp index 8c2a262..69327cc 100644 --- a/boost/numpy/ndarray.hpp +++ b/boost/numpy/ndarray.hpp @@ -137,6 +137,9 @@ class ndarray : public python::object * @internal This is simply a call to PyArray_Return(); */ python::object scalarize() const; + public: + ndarray() + :python::object() {} }; /**