bug in Hist2D_get
Status: Beta
Brought to you by:
aerpenbeck
A small bug in the 2D histogram get method. The method checks the number of bins in the x direction instead of the y direction for the index j.
The line 226 in Hist"D.c reads
if (nj < 0 || nj > ptr->nx)
rb_raise(rb_eRangeError, "Index j is outside of allowed range.");
but it should read
if (nj < 0 || nj > ptr->ny)
...