changeset 481 | e03a0100ec46 |
parent 471 | 135bf034ac30 |
child 490 | 4778fefecd0c |
--- a/progs/mandelbrot.scala Mon Nov 06 21:49:55 2023 +0000 +++ b/progs/mandelbrot.scala Fri Dec 08 00:54:36 2023 +0000 @@ -114,8 +114,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)