Under some inputs, MatrixUtils.PointsChirality could enter into an infinite loop consuming memory until an OOM occurs. This was due to the FloodFill-based operation endlessly propagate zero values. This adds a defensive check to prevent propagating zero values.
51 KiB
51 KiB