Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
Co-authored-by: Albert <26584478+albertteoh@users.noreply.github.com>
  • Loading branch information
peterstace and albertteoh committed Nov 15, 2021
1 parent 99bd56d commit 16d80d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geom/type_line_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func (s LineString) String() string {
}

// Simplify returns a simplified version of the LineString using the
// Ramer-Douglas-Peucker algorithm. If the Ramer-Douglas-Peucker were to create
// Ramer-Douglas-Peucker algorithm. If the Ramer-Douglas-Peucker algorithm were to create
// an invalid LineString (i.e. one having only a single distinct point), then
// the empty LineString is returned.
func (s LineString) Simplify(threshold float64) LineString {
Expand Down

0 comments on commit 16d80d4

Please sign in to comment.