Skip to content

Commit d509396

Browse files
committed
Fix mis-copied comparator
1 parent dff2cb5 commit d509396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libnczarr/zvar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ ncz_def_var_extra(int ncid, int varid, int *shuffle, int *unused1,
782782

783783
if (*quantize_mode == NC_QUANTIZE_BITGROOM ||
784784
*quantize_mode == NC_QUANTIZE_GRANULARBR ||
785-
*quantize_mode != NC_QUANTIZE_BITROUND)
785+
*quantize_mode == NC_QUANTIZE_BITROUND)
786786
{
787787

788788
/* Only float and double types can have quantization. */

0 commit comments

Comments
 (0)