Skip to content

Commit ab9396b

Browse files
committed
fix: manually remove division from count
1 parent b91796c commit ab9396b

File tree

7 files changed

+22
-6
lines changed

7 files changed

+22
-6
lines changed

extern/config

Submodule config updated 256 files

include/bh_python/register_histogram.hpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030
#include <tuple>
3131
#include <vector>
3232

33+
namespace boost {
34+
namespace histogram {
35+
namespace detail {
36+
37+
using _atomic_type = histogram<vector_axis_variant, storage::atomic_int64>;
38+
39+
template <>
40+
struct has_operator_rdiv_impl<_atomic_type, _atomic_type> : detect_base {
41+
using type = mp11::mp_false;
42+
};
43+
44+
}
45+
}
46+
}
47+
// bh::detail::has_operator_rdiv<histogram_t, histogram_t>{}
48+
3349
template <class S>
3450
auto register_histogram(py::module& m, const char* name, const char* desc) {
3551
using histogram_t = bh::histogram<vector_axis_variant, S>;

0 commit comments

Comments
 (0)