Skip to content

Commit

Permalink
Merge pull request #155 from gdkrmr/patch-1
Browse files Browse the repository at this point in the history
fix default compression value for blosc #154
  • Loading branch information
constantinpape authored Feb 3, 2020
2 parents c47e9ac + 1fd3d4b commit 53a1fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/z5/types/types.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ namespace types {

switch(compressor) {
#ifdef WITH_BLOSC
case blosc: if(options.find("name") == options.end()){options["name"] = "lzf";}
case blosc: if(options.find("name") == options.end()){options["name"] = "lz4";}
if(options.find("level") == options.end()){options["level"] = 5;}
if(options.find("shuffle") == options.end()){options["shuffle"] = 1;}
break;
Expand Down

0 comments on commit 53a1fe3

Please sign in to comment.