We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed1c8b9 + 911c8a2 commit cab189cCopy full SHA for cab189c
s2/cell_test.go
@@ -666,8 +666,8 @@ func TestCellDistanceToEdge(t *testing.T) {
666
// Pi for vertex distance.
667
expectedError := 1e-12
668
if expectedMin.Radians() > math.Pi/2 {
669
- // Max error for ChordAngle as it approaches Pi is about 2e-8.
670
- expectedError = 2e-8
+ // Max error for ChordAngle as it approaches Pi is about 3e-8.
+ expectedError = 3e-8
671
} else if expectedMin.Radians() <= math.Pi/3 {
672
expectedError = 1e-15
673
}
0 commit comments