Skip to content

Commit

Permalink
Update init.c
Browse files Browse the repository at this point in the history
1 glider
nikos-terzo authored Jan 5, 2017
1 parent eca8480 commit 084d5cc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/init.c
Original file line number Diff line number Diff line change
@@ -44,10 +44,12 @@ void boundar(int *board, int N, int nodeID) {

/*this functions exists for debugging purposes*/
void glider(int *board, int N, int nodeID) {
Board(4,7)=1;
Board(5,5)=1;
Board(5,7)=1;
Board(6,6)=1;
Board(6,7)=1;
if (nodeID == 0) {
Board(4,7)=1;
Board(5,5)=1;
Board(5,7)=1;
Board(6,6)=1;
Board(6,7)=1;
}
}

0 comments on commit 084d5cc

Please sign in to comment.