diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-12-09 10:08:16 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-12-09 10:08:16 +0000 |
commit | 492b22576f2ad46b300ce8dc31c5b672aaf517e4 (patch) | |
tree | 25c5188138feedf55706042494fdc7227960fbc0 /test/files | |
parent | a730fb5cc6cea39a29e9ff4cd666fa8498f6adec (diff) | |
download | scala-492b22576f2ad46b300ce8dc31c5b672aaf517e4.tar.gz scala-492b22576f2ad46b300ce8dc31c5b672aaf517e4.tar.bz2 scala-492b22576f2ad46b300ce8dc31c5b672aaf517e4.zip |
Fixed parallel ranges to use the same range log...
Fixed parallel ranges to use the same range logic under the hood, and
not introduce code duplication.
Slight fix in Tasks.
No review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/scalacheck/parallel-collections/ParallelRangeCheck.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/scalacheck/parallel-collections/ParallelRangeCheck.scala b/test/files/scalacheck/parallel-collections/ParallelRangeCheck.scala index c34fb872aa..372d6b9fbd 100644 --- a/test/files/scalacheck/parallel-collections/ParallelRangeCheck.scala +++ b/test/files/scalacheck/parallel-collections/ParallelRangeCheck.scala @@ -38,7 +38,7 @@ object ParallelRangeCheck extends ParallelSeqCheck[Int]("ParallelRange[Int]") wi } def fromSeq(a: Seq[Int]) = a match { - case r: Range => new ParRange(r.start, r.end, r.step, false) + case r: Range => ParRange(r.start, r.end, r.step, false) case _ => val pa = new parallel.mutable.ParArray[Int](a.length) for (i <- 0 until a.length) pa(i) = a(i) |