master > master: code - minor

This commit is contained in:
RD 2021-10-26 16:16:17 +02:00
parent 38db023f99
commit dac99c0fa0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def BinarySearch(L: List[int], x: int) -> int:
logDebug('x in Position m gefunden');
return m;
elif x < L[m]:
logDebug('Suche in L[0], L[1], ..., L[m] fortsetzen, m = {}.'.format(m));
logDebug('Suche in L[0], L[1], ..., L[m-1] fortsetzen, m = {}.'.format(m));
index = BinarySearch(L=L[:m], x=x);
return index;
else: # x > L[m]