aboutsummaryrefslogtreecommitdiffstats
path: root/src/algorithms/bits/Signum.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/algorithms/bits/Signum.java2
1 files changed, 1 insertions, 1 deletions
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
}