mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 11:44:28 +03:00
fdr_confirm_compile: fix bug in table sizing
This commit is contained in:
committed by
Matthew Barr
parent
f739314696
commit
dedfc34515
@@ -163,7 +163,7 @@ bytecode_ptr<FDRConfirm> getFDRConfirm(const vector<hwlmLiteral> &lits,
|
|||||||
if (make_small) {
|
if (make_small) {
|
||||||
nBits = min(10U, lg2(lits.size()) + 1);
|
nBits = min(10U, lg2(lits.size()) + 1);
|
||||||
} else {
|
} else {
|
||||||
nBits = lg2(lits.size() + 4);
|
nBits = lg2(lits.size()) + 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
CONF_TYPE mult = (CONF_TYPE)0x0b4e0ef37bc32127ULL;
|
CONF_TYPE mult = (CONF_TYPE)0x0b4e0ef37bc32127ULL;
|
||||||
|
Reference in New Issue
Block a user