Skip to content

Commit

Permalink
Fix the parallel check for decompression
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Mar 8, 2020
1 parent 4cb9e3e commit 5bfddc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn decompress_points(

laz::LazVlr::from_buffer(vlr_data)
.and_then(|vlr| {
if parallel {
if !parallel {
laz::decompress_buffer(data_slc, output, vlr)
} else {
laz::par_decompress_buffer(data_slc, output, &vlr)
Expand Down

0 comments on commit 5bfddc4

Please sign in to comment.