diff --git a/workspace/w08_life/Life.scala b/workspace/w08_life/Life.scala index 7faf527a..c4e941d3 100644 --- a/workspace/w08_life/Life.scala +++ b/workspace/w08_life/Life.scala @@ -17,7 +17,7 @@ case class Life(cells: Matrix[Boolean]): def nbrOfNeighbours(row: Int, col: Int): Int = ??? /** Skapar en ny Life-instans med nästa generation av universum. - * Detta sker genom att applicera funktionen \code{rule} på cellerna. + * Detta sker genom att applicera funktionen rule på cellerna. */ def evolved(rule: (Int, Int, Life) => Boolean = Life.defaultRule):Life = var nextGeneration = Life.empty(cells.dim)