Fix off by one error
This commit is contained in:
1 parent
c19a555fab
commit
9611345140
1 file changed
+1
-1
+1
-1
@@ -826,7 +826,7 @@ int getChildLeq(Node *self, int child) {
|
||||
uint64_t word;
|
||||
memcpy(&word, nonNull, kUnrollCount);
|
||||
if (word) {
|
||||
return i + 8 - __builtin_clzll(word) / 8;
|
||||
return i + 7 - __builtin_clzll(word) / 8;
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user