francescoalemanno/BayesHistogram.jl

need handle integers

Closed this issue · 0 comments

Moelf commented
In [22]: modeling.bayesian_blocks(np.ceil(np.random.randn(1000) * 100))
Out[22]:
array([-284. , -211. , -131.5,  -90.5,   67.5,  131.5,  176.5,  259.5,
        326. ])

(I will make a PR)