Skip to content

Commit

Permalink
Merge pull request #3 from bzinberg/master
Browse files Browse the repository at this point in the history
Add `resetNashSolver()` to the public API
  • Loading branch information
blegat authored Apr 24, 2021
2 parents ab1a531 + c48b994 commit 5b8ab79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lrsnashlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1116,4 +1116,6 @@ void updateFwidth(game *g, int col, int pos, char *str) {
((gInfo *)g->aux)->fwidth[col][pos] = len;
}

void resetNashSolver() { FirstTime = TRUE; }

/******************** end of lrsnashlib.c ***************************/
1 change: 1 addition & 0 deletions lrsnashlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void printGame(game * g);
void setFwidth(game *g, int len);
void initFwidth(game *g);
void updateFwidth(game *g, int col, int pos, char *str);
void resetNashSolver(); /* Call this function for every new game to be solved */


extern long Debug_flag;
Expand Down

0 comments on commit 5b8ab79

Please # to comment.