Skip to content
Snippets Groups Projects
Verified Commit 8d447ab5 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

corrected typo

parent 2211816d
Branches
Tags
No related merge requests found
......@@ -137,7 +137,7 @@ bool binary_get1(int n, value_key_t table[n], key_t key, value_t *value) {
int top = n - 1, bottom = 0;
while (top > bottom) {
int middle = (top + bottom) / 2;
if (x > table[middle]) {
if (key > table[middle].key) {
bottom = middle+1;
} else {
top = middle;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment