Removed unneeded conditional.
This commit is contained in:
parent
1feed10d53
commit
a7c4cfa36c
@ -53,9 +53,6 @@ public class InterpolationSearch {
|
||||
this.divisions++;
|
||||
} else {
|
||||
probe = high;
|
||||
if (array[probe] != key) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Checks if it passed the element due to it not being in list. */
|
||||
|
Loading…
Reference in New Issue
Block a user