summaryrefslogtreecommitdiff
path: root/src/library/scala/math/BigInt.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/math/BigInt.scala')
-rw-r--r--src/library/scala/math/BigInt.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/math/BigInt.scala b/src/library/scala/math/BigInt.scala
index aef48806c2..79b377bc6c 100644
--- a/src/library/scala/math/BigInt.scala
+++ b/src/library/scala/math/BigInt.scala
@@ -116,7 +116,7 @@ class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericCo
/** Returns the hash code for this BigInt. */
override def hashCode(): Int =
if (this >= BigInt.MinLong && this <= BigInt.MaxLong) unifiedPrimitiveHashcode
- else bigInteger.hashCode
+ else bigInteger.##
/** Compares this BigInt with the specified value for equality.
*/