G-Node / nix

Neuroscience information exchange format
https://readthedocs.org/projects/nixio/
Other
66 stars 36 forks source link

Add default Compression::Auto to Block constructor #731

Closed achilleas-k closed 6 years ago

achilleas-k commented 6 years ago

The Block constructor used for existing blocks, i.e., when a Block is created through getBlock(), did not have a default 'compr' value, which would cause issues with uninitialised values.

It's now initialised to Compression::Auto.

Cherry-picked from master