Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipsharring committed Feb 1, 2015
1 parent 8f57ad3 commit 1480bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Podo/GameOfLife.php
Expand Up @@ -180,8 +180,8 @@ function age($generations)
for ($y = 1; $y <= $this->depth; $y++) {
for ($x = 1; $x <= $this->width; $x++) {
// we should throw if this is null, maybe
$alive = $this->evaluate($x, $y);
$this->dispatchCell($x, $y, $alive);
$live = $this->evaluate($x, $y);
$this->dispatchCell($x, $y, $live);
}
}

Expand Down

0 comments on commit 1480bbd

Please sign in to comment.