fixed missing adaptation in python interface

This commit is contained in:
Hans Dembinski
2018-07-16 00:42:31 +02:00
parent 6ff37c06f8
commit 08ba5c39c4

View File

@@ -415,7 +415,7 @@ void register_histogram() {
"\nIf Numpy support is enabled, 1d-arrays can be passed instead of"
"\nvalues, which must be equal in lenght. Arrays and values can"
"\nbe mixed arbitrarily in the same call.")
.add_property("bincount", &pyhistogram::bincount,
.def("__len__", &pyhistogram::size,
":return: total number of bins, including under- and overflow")
.def("at", bp::raw_function(histogram_at),
":param int args: indices of the bin (number must match dimension)"