Skip to content

Commit

Permalink
XorBinaryFuse8 failed to construct on some data #31
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmueller committed Dec 16, 2021
1 parent 7eac146 commit 85fda9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static int calculateSegmentLength(int arity, int size) {
if (arity == 3) {
segmentLength = 1 << (int) Math.floor(Math.log(size) / Math.log(3.33) + 2.25);
} else if (arity == 4) {
return 1 << (int) Math.floor(Math.log(size) / Math.log(2.91) - 0.5);
segmentLength = 1 << (int) Math.floor(Math.log(size) / Math.log(2.91) - 0.5);
} else {
// not supported
segmentLength = 65536;
Expand Down

0 comments on commit 85fda9d

Please sign in to comment.