We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b666a60 commit 357ee52Copy full SHA for 357ee52
1 file changed
include/skipping.h
@@ -38,7 +38,7 @@ class Skipping {
38
public:
39
Skipping(uint32_t BS, const uint32_t *data, uint32_t length)
40
: BlockSizeLog(BS), mainbuffer(), highbuffer(), Length(0) {
41
- if ((BlockSizeLog == 0) && (BlockSizeLog >= 32))
+ if ((BlockSizeLog == 0) || (BlockSizeLog >= 32))
42
throw runtime_error("please use a reasonable BlockSizeLog");
43
load(data, length); // cheap constructor
44
}
0 commit comments