Fixes a potential out-of-bounds read in localIjToCell that can occur with a particular combination of base cell, resolution, and highly negative IJ coordinates. The coordinates were only being tested against positive bounds, which was incorrect. As the function that compares to unit vectors handles this already, that check is replaced with that call.
Coverage decreased (-0.001%) to 99.034% when pulling 44d56b54c3033ba43770f51ff984ff74b758aaa4 on isaacbrodsky:fix-localij-array-oob into f581626150e2e2b02f0ee1636084dfb8a4563abf on uber:master.
Fixes a potential out-of-bounds read in localIjToCell that can occur with a particular combination of base cell, resolution, and highly negative IJ coordinates. The coordinates were only being tested against positive bounds, which was incorrect. As the function that compares to unit vectors handles this already, that check is replaced with that call.