diff options
Diffstat (limited to 'boost/python/numpy/ndarray.hpp')
-rw-r--r-- | boost/python/numpy/ndarray.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/python/numpy/ndarray.hpp b/boost/python/numpy/ndarray.hpp index e5b6a9e94b..98a4cb15a1 100644 --- a/boost/python/numpy/ndarray.hpp +++ b/boost/python/numpy/ndarray.hpp @@ -13,7 +13,7 @@ #include <boost/python.hpp> #include <boost/utility/enable_if.hpp> -#include <boost/type_traits/is_integral.hpp> +#include <boost/python/detail/type_traits.hpp> #include <boost/python/numpy/numpy_object_mgr_traits.hpp> #include <boost/python/numpy/dtype.hpp> #include <boost/python/numpy/config.hpp> @@ -176,7 +176,7 @@ ndarray from_data_impl(void * data, Container strides, object const & owner, bool writeable, - typename boost::enable_if< boost::is_integral<typename Container::value_type> >::type * enabled = NULL) + typename boost::enable_if< boost::python::detail::is_integral<typename Container::value_type> >::type * enabled = NULL) { std::vector<Py_intptr_t> shape_(shape.begin(),shape.end()); std::vector<Py_intptr_t> strides_(strides.begin(), strides.end()); |