Skip to content

S2Cell::Contains: Increase expansion to 5/3*DBL_EPSILON#535

Merged
jmr merged 1 commit intogoogle:masterfrom
jmr:cell-expand-bound
Jan 28, 2026
Merged

S2Cell::Contains: Increase expansion to 5/3*DBL_EPSILON#535
jmr merged 1 commit intogoogle:masterfrom
jmr:cell-expand-bound

Conversation

@jmr
Copy link
Member

@jmr jmr commented Jan 28, 2026

The required expansion is 5/3*DBL_EPSILON, not DBL_EPSILON, as explained in #463 (comment)

The comment should be expanded, but this will at least fix the flaky test.

The required expansion is 5/3*DBL_EPSILON, not DBL_EPSILON, as explained in
google#463 (comment)

The comment should be expanded, but this will at least fix the flaky
test.
@jmr jmr merged commit ca00ed3 into google:master Jan 28, 2026
9 checks passed
@jmr jmr deleted the cell-expand-bound branch January 28, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant