summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2008-12-22 13:22:59 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2008-12-22 13:22:59 +0000
commita405c1e0f278e78c9c7e9957f439a60aae2801e1 (patch)
tree12ee756c65364079607e87461857e5c74f7cf453 /src
parent50884412ab34d1a343d1bac268583ba136a5bf5b (diff)
downloadscala-a405c1e0f278e78c9c7e9957f439a60aae2801e1.tar.gz
scala-a405c1e0f278e78c9c7e9957f439a60aae2801e1.tar.bz2
scala-a405c1e0f278e78c9c7e9957f439a60aae2801e1.zip
#1598
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/BigInt.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/BigInt.scala b/src/library/scala/BigInt.scala
index bab35c14cb..db151f0e43 100644
--- a/src/library/scala/BigInt.scala
+++ b/src/library/scala/BigInt.scala
@@ -61,8 +61,8 @@ object BigInt {
/** Constructs a randomly generated positive BigInt that is probably prime,
* with the specified bitLength.
*/
- def apply(bitlength: Int, certaInty: Int, rnd: scala.util.Random): BigInt =
- new BigInt(new BigInteger(bitlength, certaInty, rnd.self))
+ def apply(bitlength: Int, certainty: Int, rnd: scala.util.Random): BigInt =
+ new BigInt(new BigInteger(bitlength, certainty, rnd.self))
/** Constructs a randomly generated BigInt, uniformly distributed over the
* range 0 to (2 ^ numBits - 1), inclusive.