Skip to content

Commit

Permalink
UCI_Analysis -> UCI_AnalyseMode
Browse files Browse the repository at this point in the history
The correct name of the option is UCI_AnalyseMode.
  • Loading branch information
syzygy1 committed Jan 27, 2018
1 parent a719a04 commit 5470c0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void mainthread_search(void)
char buf[16];
int playBookMove = 0;

int analyzing = Limits.infinite || option_value(OPT_ANALYSIS);
int analyzing = Limits.infinite || option_value(OPT_ANALYSE_MODE);

// When analyzing, use contempt only if the user has said so
int contempt = !analyzing || option_value(OPT_ANALYSIS_CONTEMPT)
Expand Down
2 changes: 1 addition & 1 deletion src/uci.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ typedef void (*OnChange)(Option *);
#define OPT_MIN_THINK_TIME 9
#define OPT_SLOW_MOVER 10
#define OPT_NODES_TIME 11
#define OPT_ANALYSIS 12
#define OPT_ANALYSE_MODE 12
#define OPT_CHESS960 13
#define OPT_SYZ_PATH 14
#define OPT_SYZ_PROBE_DEPTH 15
Expand Down
2 changes: 1 addition & 1 deletion src/ucioption.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static Option options_map[] = {
{ "Minimum Thinking Time", OPT_TYPE_SPIN, 20, 0, 5000, NULL, NULL, 0, NULL },
{ "Slow Mover", OPT_TYPE_SPIN, 89, 10, 1000, NULL, NULL, 0, NULL },
{ "nodestime", OPT_TYPE_SPIN, 0, 0, 10000, NULL, NULL, 0, NULL },
{ "UCI_Analysis", OPT_TYPE_CHECK, 0, 0, 0, NULL, NULL, 0, NULL },
{ "UCI_AnalyseMode", OPT_TYPE_CHECK, 0, 0, 0, NULL, NULL, 0, NULL },
{ "UCI_Chess960", OPT_TYPE_CHECK, 0, 0, 0, NULL, NULL, 0, NULL },
{ "SyzygyPath", OPT_TYPE_STRING, 0, 0, 0, "<empty>", on_tb_path, 0, NULL },
{ "SyzygyProbeDepth", OPT_TYPE_SPIN, 1, 1, 100, NULL, NULL, 0, NULL },
Expand Down

0 comments on commit 5470c0e

Please sign in to comment.