1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Hide NNUE options if building without NNUE support

Also remove an unused option.
This commit is contained in:
No name 2020-07-19 13:50:00 +03:00 committed by nodchip
parent afd7d0ea4d
commit fd78fb05f6

View file

@ -80,6 +80,7 @@ void init(OptionsMap& o) {
o["SyzygyProbeDepth"] << Option(1, 1, 100);
o["Syzygy50MoveRule"] << Option(true);
o["SyzygyProbeLimit"] << Option(7, 0, 7);
#ifdef EVAL_NNUE
// Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing.
// Without the preceding "./", some GUIs can not load he net file.
o["EvalFile"] << Option("./eval/nn.bin", on_eval_file);
@ -90,8 +91,8 @@ void init(OptionsMap& o) {
// Hit the test eval convert command.
o["SkipLoadingEval"] << Option(false);
// how many moves to use a fixed move
o["BookMoves"] << Option(16, 0, 10000);
// o["BookMoves"] << Option(16, 0, 10000);
#endif
#if defined(EVAL_LEARN)
// When learning the evaluation function, you can change the folder to save the evaluation function.
// Evalsave by default. This folder shall be prepared in advance.