The fill method does not broadcast correctly in all cases.
import boost_histogram as bh
import numpy as np
r = bh.axis.Regular(5, 0, 1)
h = bh.Histogram(r, r)
h.fill(1, [1, 2]) # ok
h.fill(np.float64(1), [1, 2]) # fails
It not only does not work, but the error message is also very confusing:
ValueError: spans must have compatible lengths