home
/
code
/
cellular-automata.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated references from old to new module names.
[cellular-automata.git]
/
001
/
src
/
life_cell.erl
diff --git
a/001/src/life_cell.erl
b/001/src/life_cell.erl
index
227f673
..
6f477cf
100644
(file)
--- a/
001/src/life_cell.erl
+++ b/
001/src/life_cell.erl
@@
-1,4
+1,4
@@
--module(cell).
+-module(
life_
cell).
-behaviour(gen_server).
-behaviour(gen_server).
@@
-95,7
+95,7
@@
handle_cast({response_state, NeighborState},
case NewPending of
0 ->
NewCellState = new_state(CellState, NewLiveNeighbors),
case NewPending of
0 ->
NewCellState = new_state(CellState, NewLiveNeighbors),
- ok = time:tock(ID, NewCellState),
+ ok =
life_
time:tock(ID, NewCellState),
{noreply, NewState#state{live_neighbors=0
,cell_state=NewCellState
{noreply, NewState#state{live_neighbors=0
,cell_state=NewCellState
This page took
0.030892 seconds
and
4
git commands to generate.