Skip to content

Commit

Permalink
fix corner case of binary search
Browse files Browse the repository at this point in the history
  • Loading branch information
AL-JiongYang committed Sep 25, 2023
1 parent 8ab5426 commit 6963ca2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/counter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ void Counter::one_measurement_count(
int64_t numExplored = 0;
int64_t lowerFib = 0;
int64_t upperFib = total_max_xors;
threshold_sols[total_max_xors] = 0;
sols_for_hash[total_max_xors] = 1;

int64_t hashCount = mPrev;
int64_t hashPrev = hashCount;
Expand Down

0 comments on commit 6963ca2

Please sign in to comment.