fdr_confirm_compile: fix bug in table sizing

This commit is contained in:
Justin Viiret 2017-06-14 16:04:26 +10:00 committed by Matthew Barr
parent f739314696
commit dedfc34515

View File

@ -163,7 +163,7 @@ bytecode_ptr<FDRConfirm> getFDRConfirm(const vector<hwlmLiteral> &lits,
if (make_small) {
nBits = min(10U, lg2(lits.size()) + 1);
} else {
nBits = lg2(lits.size() + 4);
nBits = lg2(lits.size()) + 4;
}
CONF_TYPE mult = (CONF_TYPE)0x0b4e0ef37bc32127ULL;