Skip to content

Commit

Permalink
fix example usage (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
awitten1 authored Sep 25, 2023
1 parent 9bdf9e2 commit 38a54fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ int main() {
// Do random range queries of size 1e8.
uint64_t low = rand();
bool stored = ubf.findRange(low, low + 1e8);
uint64_t high = low + 1e8;
bool stored = ubf.findRange(low, high);
if (stored) {
std::cout << "There may be a key in range [" << low << "," << high << "]" << std::endl;
} else {
Expand Down

0 comments on commit 38a54fa

Please sign in to comment.