diff options
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/util/Random.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/scala/util/Random.scala b/src/library/scala/util/Random.scala index 482f4e7c42..09d15ff500 100644 --- a/src/library/scala/util/Random.scala +++ b/src/library/scala/util/Random.scala @@ -50,8 +50,7 @@ class Random(val self: java.util.Random) { * double value with mean 0.0 and standard deviation 1.0 from this * random number generator's sequence. */ - // XXX why is this the only method of java.util.Random to be commented out? - //def nextGaussian(): Double = self.nextGaussian() + def nextGaussian(): Double = self.nextGaussian() /** Returns the next pseudorandom, uniformly distributed int value * from this random number generator's sequence. |