From 5bfddc402cbed3a9e412f93d530c16e785346599 Mon Sep 17 00:00:00 2001 From: tmontaigu Date: Sun, 8 Mar 2020 13:24:42 +0100 Subject: [PATCH] Fix the parallel check for decompression --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 10eb26e..07f37c8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)