r-lidar / rlas

R package to read and write las and laz files used to store LiDAR data
https://cran.r-project.org/package=rlas
GNU General Public License v3.0
34 stars 14 forks source link

Fixing a check in ReturnNumbers for las version 1.4-6 #45

Closed mccarthyryanc closed 4 years ago

mccarthyryanc commented 4 years ago

is_extended correctly returns true for version 1.4-6 files. But the nbits gets assigned 3L instead of 4L. Simple swap to get the correct value set.

Jean-Romain commented 4 years ago

Thank you, nice catch.