diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/algorithms/searching/HybridBinarySearch.java | 2 | ||||
-rw-r--r-- | src/algorithms/searching/HybridInterpolationSearch.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/algorithms/searching/HybridBinarySearch.java b/src/algorithms/searching/HybridBinarySearch.java index 6590313..2063ca9 100644 --- a/src/algorithms/searching/HybridBinarySearch.java +++ b/src/algorithms/searching/HybridBinarySearch.java @@ -169,7 +169,7 @@ public class HybridBinarySearch if (i == n) break; - if (£(equal array[i] item)) + if (£(equal "array[i]" item)) return i; i++; diff --git a/src/algorithms/searching/HybridInterpolationSearch.java b/src/algorithms/searching/HybridInterpolationSearch.java index 888c028..b6669f0 100644 --- a/src/algorithms/searching/HybridInterpolationSearch.java +++ b/src/algorithms/searching/HybridInterpolationSearch.java @@ -128,7 +128,7 @@ public class HybridInterpolationSearch if (i == n) break; - if (£(equal array[i] item)) + if (£(equal "array[i]" item)) return i; i++; |