progs/mandelbrot.sc
changeset 493 244df77507c2
parent 491 e2ffe8642f55
--- a/progs/mandelbrot.sc	Sun Jul 14 14:31:39 2024 +0100
+++ b/progs/mandelbrot.sc	Sun Sep 15 12:57:59 2024 +0100
@@ -5,7 +5,7 @@
 //
 // You can run on the file one the commandline with
 //
-//   scala-cli mandelbrot.sc
+//   scala mandelbrot.sc
 //
 //
 //
@@ -16,7 +16,7 @@
 
 // for parallel collections
 //> using dep org.scala-lang.modules::scala-parallel-collections:1.0.4
-import scala.language.implicitConversions
+import scala.language.implicitConversions.*
 import scala.collection.parallel.CollectionConverters.*
 
 // for graphics
@@ -24,6 +24,8 @@
 import java.awt.{Color, Dimension, Graphics, Graphics2D}
 import java.awt.image.BufferedImage
 
+// for implicits in comples numbers
+import scala.language.implicitConversions