jliszka / probability-monad

Apache License 2.0
263 stars 38 forks source link

In method Distribution.scala, samplePar should use passed in n instead of N #22

Closed matmsh closed 2 years ago

matmsh commented 2 years ago
  def samplePar(n: Int = N): ParSeq[A] = (0 until N).par.map(i => self.get)

Just noticed the above minor typo in the code. Thanks for the library !