Skip to content

Commit

Permalink
Show current status to stderr
Browse files Browse the repository at this point in the history
Every time it starts working with a new catalyst (i.e. moving on to the next catalyst as the "first catalyst to react with the reaction") It prints out the message to the console.
  • Loading branch information
Scorbie authored and ceebo committed Oct 25, 2015
1 parent 165daba commit 9b22251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ptbsearch2.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ int iperturb, thisgen;

for (iperturb=0; iperturb<nperturbs; iperturb++) {

if(depth == 0) fprintf(stderr, "Working with perturber #%d\n", iperturb+1);

copyLifeList(seed, reaction+depth);
setValues(reaction[depth].cellList, reaction[depth].ncells, 1);

Expand Down

0 comments on commit 9b22251

Please sign in to comment.