Skip to content

Commit 357ee52

Browse files
committed
Correcting typo
1 parent b666a60 commit 357ee52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/skipping.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Skipping {
3838
public:
3939
Skipping(uint32_t BS, const uint32_t *data, uint32_t length)
4040
: BlockSizeLog(BS), mainbuffer(), highbuffer(), Length(0) {
41-
if ((BlockSizeLog == 0) && (BlockSizeLog >= 32))
41+
if ((BlockSizeLog == 0) || (BlockSizeLog >= 32))
4242
throw runtime_error("please use a reasonable BlockSizeLog");
4343
load(data, length); // cheap constructor
4444
}

0 commit comments

Comments
 (0)