aboutsummaryrefslogtreecommitdiffstats
path: root/src/algorithms/searching/HybridBinarySearch.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-21 09:51:35 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-21 09:51:35 +0100
commit8b611d8d569cba9da2ab27d3de069c66e1cff882 (patch)
treee6e86e0c24a6ff9d5a3c5fdda3b906d9c2670bd2 /src/algorithms/searching/HybridBinarySearch.java
parentm + add hybrid interpolation search (diff)
downloadalgorithms-and-data-structures-8b611d8d569cba9da2ab27d3de069c66e1cff882.tar.gz
algorithms-and-data-structures-8b611d8d569cba9da2ab27d3de069c66e1cff882.tar.bz2
algorithms-and-data-structures-8b611d8d569cba9da2ab27d3de069c66e1cff882.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/algorithms/searching/HybridBinarySearch.java2
1 files changed, 1 insertions, 1 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++;