Skip to content

Commit

Permalink
Fix inconsistent default timecontrol.
Browse files Browse the repository at this point in the history
As noted in pull request leela-zero#2172, the default
constructor set byo yomi stones but no time or
periods.
  • Loading branch information
gcp committed Apr 2, 2019
1 parent 148f979 commit e89e1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TimeControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TimeControl {
Initialize time control. Timing info is per GTP and in centiseconds
*/
TimeControl(int maintime = 60 * 60 * 100,
int byotime = 0, int byostones = 25,
int byotime = 0, int byostones = 0,
int byoperiods = 0);

void start(int color);
Expand Down

0 comments on commit e89e1a7

Please sign in to comment.