Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Mar 12, 2024
1 parent 8747b15 commit 0ef9444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xy/line_centroid_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func ExampleLinearRingsCentroid() {
line2 := geom.NewLinearRingFlat(geom.XY, []float64{10, 10, 11, 11, 13, 13, 10, 10})
centroid := xy.LinearRingsCentroid(line1, line2)
fmt.Println(centroid)
// Output: [6.499999999999999 6.499999999999999]
// Output: [6.5 6.5]
}

func ExampleMultiLineCentroid() {
Expand Down

0 comments on commit 0ef9444

Please sign in to comment.