-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a corner case in EliasFanoReader::previousValue
Summary: `previousValue` makes the incorrect assumption that `outer_` is a multiple of the word size. This is incorrect because `skipToNext` can reposition at an arbitrary point. The bug is very rare because it can only happen if there is a gap larger than the skip quantum after the first element in the upper bits. Reviewed By: philippv Differential Revision: D4607270 fbshipit-source-id: ff016f09f3f1f87314b68370e3dc137b82694f45
- Loading branch information
1 parent
3900132
commit e639eac
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters