From: Siraaj Khandkar Date: Thu, 9 Aug 2012 06:29:48 +0000 (-0400) Subject: Reformatting for consistency. X-Git-Url: https://git.xandkar.net/?p=cellular-automata.git;a=commitdiff_plain;h=160a4566dcc36d03f6af95e7c588cc7453fdd905 Reformatting for consistency. --- diff --git a/003/src/life.erl b/003/src/life.erl index 74868da..5f91d26 100644 --- a/003/src/life.erl +++ b/003/src/life.erl @@ -61,7 +61,12 @@ life_loop( end ), - {NewTime, NewBoard} = timer:tc(fun() -> next_generation(X, Y, Board) end), + {NewTime, NewBoard} = timer:tc( + fun() -> + next_generation(X, Y, Board) + end + ), + NewState = State#state{board = NewBoard ,gen_count = GenCount + 1 ,gen_duration = NewTime