diff options
Diffstat (limited to 'boost/python/numpy/matrix.hpp')
-rw-r--r-- | boost/python/numpy/matrix.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/python/numpy/matrix.hpp b/boost/python/numpy/matrix.hpp index af20e8f9be..829f544af5 100644 --- a/boost/python/numpy/matrix.hpp +++ b/boost/python/numpy/matrix.hpp @@ -14,6 +14,8 @@ #include <boost/python.hpp> #include <boost/python/numpy/numpy_object_mgr_traits.hpp> #include <boost/python/numpy/ndarray.hpp> +#include <boost/python/numpy/config.hpp> + namespace boost { namespace python { namespace numpy { @@ -27,7 +29,7 @@ namespace boost { namespace python { namespace numpy { * bad things happen when Python shuts down. I think this solution is safe, but I'd * love to get that confirmed. */ -class matrix : public ndarray +class BOOST_NUMPY_DECL matrix : public ndarray { static object construct(object_cref obj, dtype const & dt, bool copy); static object construct(object_cref obj, bool copy); |