# HG changeset patch # User Christian Urban # Date 1510180602 0 # Node ID c08ba57a7f53ba19d58a344c986ab683b9f9b8d3 # Parent 077e63e96287f17d7a0f2a6b4b98507d2f2e172b update diff -r 077e63e96287 -r c08ba57a7f53 progs/mandelbrot.scala --- a/progs/mandelbrot.scala Wed Nov 08 20:27:56 2017 +0000 +++ b/progs/mandelbrot.scala Wed Nov 08 22:36:42 2017 +0000 @@ -109,8 +109,8 @@ time_needed(mandelbrot(exa1, exa2, 1000)) -// ehxample 2 -val exb1 = Compylex(-0.37465401, 0.659227668) +// example 2 +val exb1 = Complex(-0.37465401, 0.659227668) val exb2 = Complex(-0.37332410, 0.66020767) time_needed(mandelbrot(exb1, exb2, 1000)) @@ -125,9 +125,9 @@ val delta = (exc2 - exc1) * 0.0333 time_needed( -for (i <- (0 to 12)) - mandelbrot(exc1 + delta * i, - exc2 - delta * i, 1000)) + for (i <- (0 to 12)) + mandelbrot(exc1 + delta * i, + exc2 - delta * i, 1000))