Underworld of the Unsigned
Pre-release
Pre-release
What's new in 0.9.1
Bug fixes
- Fixed a bug in
seismicrna.core.batch.index
: callingnp.full(target.max(initial=-1) + 1, -1)
wheretarget
is a NumPy NDArray of unsigned integer type would implicitly convert -1 to an unsigned integer with the maximum value of its data type (e.g. 4,294,967,295 for a 32-bit integer) and attempt to allocate memory for an enormous array of this size. On some systems, this would cause a crash, and on others would simply waste time allocating the memory.