paulmach / orb

Types and utilities for working with 2d geometry in Golang
MIT License
910 stars 103 forks source link

Copy/pasted Deprecated comment in LengthHaversine #100

Closed jfbus closed 2 years ago

jfbus commented 2 years ago

The LengthHaversine func has a Depredated comment that should not be there:

// Deprecated: misspelled, use correctly spelled `LengthHaversine` instead.
func LengthHaversine(g orb.Geometry) float64 {
paulmach commented 2 years ago

Thank you for taking the time to report this. Fixed in https://github.com/paulmach/orb/commit/e14170606937b8eb2cb201377f09c4bfdd73ba47