diff options
Diffstat (limited to '')
-rw-r--r-- | src/algorithms/searching/MultibinarySearch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algorithms/searching/MultibinarySearch.java b/src/algorithms/searching/MultibinarySearch.java index c1bf400..0486af0 100644 --- a/src/algorithms/searching/MultibinarySearch.java +++ b/src/algorithms/searching/MultibinarySearch.java @@ -150,7 +150,7 @@ public class MultibinarySearch */ public static £(fun "long[][]" indexOf "${T}[] items, ${Tarray} array, SortOrder order, SearchMode mode, int start, int end") { - if (mode != SearchMode.FIND_ANY) + if (mode == SearchMode.FIND_FIRST_AND_LAST) throw new Error("Mode not implemented"); /* TODO */ BinarySearch.SearchMode mode_ = |