From 29f54e47b035b78f87d1f0db59db4e689e1bd140 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 20 Jan 2014 02:36:11 +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/bits/Signum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/algorithms/bits/Signum.java') diff --git a/src/algorithms/bits/Signum.java b/src/algorithms/bits/Signum.java index 3744be7..07ddddf 100644 --- a/src/algorithms/bits/Signum.java +++ b/src/algorithms/bits/Signum.java @@ -92,7 +92,7 @@ public class Signum */ public static boolean haveOpposite(£{T} a, £{T} b) { - return (x ^ y) < 0; + return (a ^ b) < 0; } £>done } -- cgit v1.2.3-70-g09d2