Simplify indexing bug
https://github.com/JuliaGeo/GeometryOps.jl/blob/769c3e1d88740e1eecd4de0931e8f25d9f5b671c/src/transformations/simplify.jl#L298-L307
In the referenced lines, the `i+=1` can cause a `BoundsError` in the line below it, as the while loop allows for `max_points` number. I hit this during a normal `simplify(x, tol=y)` operation.
2 条评论