diff options
author | mihaylov <mihaylov@epfl.ch> | 2007-03-23 10:23:57 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2007-03-23 10:23:57 +0000 |
commit | 4c5b8cd11c4be478add14845fb416d537f974b30 (patch) | |
tree | ba8a9daf4f85ae0f7b3f93e97ffd5f32076bbfc0 /src | |
parent | 058227a6664fd8ce87c6d3c7a4c267270a6a3c1f (diff) | |
download | scala-4c5b8cd11c4be478add14845fb416d537f974b30.tar.gz scala-4c5b8cd11c4be478add14845fb416d537f974b30.tar.bz2 scala-4c5b8cd11c4be478add14845fb416d537f974b30.zip |
Fixed contribution #396
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/BigInt.scala | 2 |
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 */ |