--- 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))