summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/BigInt.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/BigInt.scala b/src/library/scala/BigInt.scala
index 79e680ae39..2993680e45 100644
--- a/src/library/scala/BigInt.scala
+++ b/src/library/scala/BigInt.scala
@@ -151,7 +151,7 @@ class BigInt(val bigInteger: BigInteger) extends runtime.BoxedNumber {
/** Greater-than comparison of BigInts
*/
- def > (that: BigInt): boolean = this.bigInteger.compareTo(that.bigInteger) >= 0
+ def > (that: BigInt): boolean = this.bigInteger.compareTo(that.bigInteger) > 0
/** Addition of BigInts
*/