home
/
code
/
cellular-automata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1332e0c
)
Reformatting for consistency.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 9 Aug 2012 06:29:48 +0000
(
02:29
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Thu, 9 Aug 2012 06:29:48 +0000
(
02:29
-0400)
003/src/life.erl
patch
|
blob
|
blame
|
history
diff --git
a/003/src/life.erl
b/003/src/life.erl
index
74868da
..
5f91d26
100644
(file)
--- 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
This page took
0.028294 seconds
and
4
git commands to generate.