Switch branches/tags
Nothing to show
Find file History
carterbox BUG: Segmentation fault in morph.c from integer overflow
Sufficiently large numpy arrays caused sample operations to
segfault because the variables used to index the large arrays
could not count up to the array size. Switching these indexing
variables to unsigned and unsigned long long increases the maximum
array size to accomodate an array whose size is INT64MAX**3.

Fixes #304.
Latest commit 6a775f3 May 3, 2018