py_pcha
py_pcha copied to clipboard
np.floor instead of np.ceil
https://github.com/ulfaslak/py_pcha/blob/f398d28c6a28c4a8121cb75443b221fc58fc10e4/py_pcha/PCHA.py#L153
Why are you using np.ceil here? Because it is possible to select and $i$ that is not in the data leading to an index error.