From 8b611d8d569cba9da2ab27d3de069c66e1cff882 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 21 Jan 2014 09:51:35 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/algorithms/searching/HybridBinarySearch.java | 2 +- src/algorithms/searching/HybridInterpolationSearch.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/algorithms/searching') 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++; -- cgit v1.2.3-70-g09d2