mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-30 07:52:11 +00:00
cleanup of build, prepare for coverage
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <boost/python/module.hpp>
|
||||
#ifdef USE_NUMPY
|
||||
#ifdef HAVE_NUMPY
|
||||
# define PY_ARRAY_UNIQUE_SYMBOL boost_histogram_ARRAY_API
|
||||
# define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
# include <numpy/arrayobject.h>
|
||||
@@ -15,7 +15,7 @@ namespace histogram {
|
||||
|
||||
BOOST_PYTHON_MODULE(histogram)
|
||||
{
|
||||
#ifdef USE_NUMPY
|
||||
#ifdef HAVE_NUMPY
|
||||
import_array();
|
||||
#endif
|
||||
boost::histogram::register_axis_types();
|
||||
|
||||
Reference in New Issue
Block a user