progs/mandelbrot.scala
changeset 329 8a34b2ebc8cc
parent 309 b192bc772613
child 353 bb6074814a73
--- a/progs/mandelbrot.scala	Tue Dec 03 11:07:09 2019 +0000
+++ b/progs/mandelbrot.scala	Mon Jan 27 10:18:13 2020 +0000
@@ -104,8 +104,8 @@
   val d_x = (end.re - start.re) / W
   val d_y = (end.im - start.im) / H
    
-  for (y <- (0 until H)) {
-    for (x <- (0 until W)) {
+  for (y <- (0 until H).par) {
+    for (x <- (0 until W).par) {
     
      val c = start + 
       (x * d_x + y * d_y * i)