ropensci / slopes

Package to calculate slopes of roads, rivers and trajectories
https://docs.ropensci.org/slopes/
GNU General Public License v3.0
70 stars 6 forks source link

likely typo bug? `z_min()` calls `max()` #55

Open daauerbach opened 3 weeks ago

daauerbach commented 3 weeks ago

sweet package!!

a funny result led me to what looks like a quick & easy fix for z_min() https://github.com/ropensci/slopes/blob/7f9ee5cd6dd0edcc8740c94c845165331a72df76/R/z.R#L52

not sure if this merits being added to #45 ?

Robinlovelace commented 3 weeks ago

Woops, that definitely looks like a bug, well spotted and many thanks.