Closed jlebar closed 4 years ago
Fixes #24.
I believe this matches the intent of the original programmer, although I am not at all sure.
Inside of this loop, HDVAL(j, 2) reads two strides (i.e. widths) past the current location. Therefore height - 1 is not sufficient to keep it in-bounds.
height - 1
Merged, thanks!
Fixes #24.
I believe this matches the intent of the original programmer, although I am not at all sure.
Inside of this loop, HDVAL(j, 2) reads two strides (i.e. widths) past the current location. Therefore
height - 1
is not sufficient to keep it in-bounds.