Tests: Allow --numsets 2/2

This commit is contained in:
Wilson Snyder 2020-03-09 17:57:27 -04:00
parent 9f947bcb5f
commit e6c91f59ab

View File

@ -277,7 +277,7 @@ sub _calc_hashset {
local $/;
unpack("%32W*", $t);
};
if ($set == ($checksum % $nsets)) {
if (($set % $nsets) == ($checksum % $nsets)) {
push @new, $t;
}
}