Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
return middle;
else if (value > int_array[middle])
return binarySearch((middle + 1), last, value);
- return binarySearch(first, (middle -1), value);
+ return binarySearch(first, (middle - 1), value);
}
public boolean supprimer(int value) {
return middle;
else if (value > int_array[middle])
return binarySearch((middle + 1), last, value);
- return binarySearch(first, (middle -1), value);
+ return binarySearch(first, (middle - 1), value);
}
public boolean supprimer(int value) {