Skip to content

Commit 173dc13

Browse files
committed
[c++] Fix compression bug
The introduction of compression to NIX lead to an error when creating a DataArray. Introduction of the nix::Compression argument in the bindings to the nix library fixes this issue problem.
1 parent f098606 commit 173dc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixblock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace nixblock {
3838
nix::DataType dtype = nix::string_to_data_type(input.str(4));
3939
nix::NDSize size = input.ndsize(5);
4040

41-
nix::DataArray dt = block.createDataArray(name, type, dtype, size);
41+
nix::DataArray dt = block.createDataArray(name, type, dtype, size, nix::Compression::None);
4242
output.set(0, dt);
4343
}
4444

0 commit comments

Comments
 (0)