astrofrog / fast-histogram

:zap: Fast 1D and 2D histogram functions in Python :zap:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

histogram2d memory error when x and y are swapped.

amr-lopezjos opened this issue · comments

I appreciate your work as well. So I hope this issue report will help make fast-histogram even better.

When I call histogram2d I get a memory error depending on the order of the columns. I have attached a script+data to reproduce the error (on windows 11 and ubuntu 18.04).

python v3.9.13
fast-histogram v0.11
np v1.24.3

reproduction_materials.zip

Thank you for your great work.

fast-histogram v0.12 does not crash when running the script I submitted above.