summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-03-23 10:23:57 +0000
committermihaylov <mihaylov@epfl.ch>2007-03-23 10:23:57 +0000
commit4c5b8cd11c4be478add14845fb416d537f974b30 (patch)
treeba8a9daf4f85ae0f7b3f93e97ffd5f32076bbfc0 /src
parent058227a6664fd8ce87c6d3c7a4c267270a6a3c1f (diff)
downloadscala-4c5b8cd11c4be478add14845fb416d537f974b30.tar.gz
scala-4c5b8cd11c4be478add14845fb416d537f974b30.tar.bz2
scala-4c5b8cd11c4be478add14845fb416d537f974b30.zip
Fixed contribution #396
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
*/