Skip to content

Commit

Permalink
Fix #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Apr 15, 2024
1 parent fbaef65 commit c0988e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rlas
Type: Package
Title: Read and Write 'las' and 'laz' Binary File Formats Used for Remote Sensing Data
Version: 1.7.0
Version: 1.7.1
Authors@R: c(
person("Jean-Romain", "Roussel", email = "jean-romain.roussel.1@ulaval.ca", role = c("aut", "cre", "cph")),
person("Florian", "De Boissieu", email = "", role = c("aut", "ctb"), comment = "Enable the support of .lax file and extra byte attributes"),
Expand Down
6 changes: 3 additions & 3 deletions src/LASlib/lasreadermerged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,15 +1510,15 @@ BOOL LASreaderMerged::open_next_file()
// open the lasreader with the next file name
if (lasreaderlas)
{
lasreaderlas->set_index(0);
lasreaderlas->set_copcindex(0);

if (!lasreaderlas->open(file_names[file_name_current], io_ibuffer_size))
{
REprintf( "ERROR: could not open lasreaderlas for file '%s'\n", file_names[file_name_current]);
return FALSE;
}

lasreaderlas->set_index(0);
lasreaderlas->set_copcindex(0);

LASindex *index = new LASindex;
if (index->read(file_names[file_name_current]))
lasreaderlas->set_index(index);
Expand Down

0 comments on commit c0988e7

Please sign in to comment.