mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-30 07:52:11 +00:00
back to histogram master template
This commit is contained in:
@@ -11,12 +11,8 @@
|
||||
#include <boost/python/numpy.hpp>
|
||||
#endif
|
||||
|
||||
namespace boost {
|
||||
namespace histogram {
|
||||
void register_axis_types();
|
||||
void register_histogram();
|
||||
}
|
||||
}
|
||||
|
||||
BOOST_PYTHON_MODULE(histogram) {
|
||||
using namespace boost::python;
|
||||
@@ -30,7 +26,7 @@ BOOST_PYTHON_MODULE(histogram) {
|
||||
current.attr("axis") = axis_module;
|
||||
{
|
||||
scope current = axis_module;
|
||||
boost::histogram::register_axis_types();
|
||||
register_axis_types();
|
||||
}
|
||||
boost::histogram::register_histogram();
|
||||
register_histogram();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user