From e4d1c9093a593f6389fd28b044eeca782352f063 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 5 Apr 2018 23:56:52 +0200 Subject: [PATCH] More code cleanup. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- Structure/Entiers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Structure/Entiers.java b/Structure/Entiers.java index 80fcc90..05ffb59 100644 --- a/Structure/Entiers.java +++ b/Structure/Entiers.java @@ -67,7 +67,7 @@ class Entiers extends Structure { return middle; else if (value > int_array[middle]) return binarySearch((middle + 1), last, value); - return binarySearch(first, (middle -1), value); + return binarySearch(first, (middle - 1), value); } public boolean supprimer(int value) { -- 2.34.1