From b521e405d32d884392be8cc9dd5de45559b2dce6 Mon Sep 17 00:00:00 2001 From: zz4032 Date: Fri, 10 Jul 2020 16:40:24 +0200 Subject: [PATCH] Default network path in Linux. --- src/ucioption.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ucioption.cpp b/src/ucioption.cpp index d98d82b1..8658adb4 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -81,7 +81,11 @@ void init(OptionsMap& o) { o["Syzygy50MoveRule"] << Option(true); o["SyzygyProbeLimit"] << Option(7, 0, 7); // Evaluation function file name. When this is changed, it is necessary to reread the evaluation function at the next ucinewgame timing. +#if defined(__linux__) + o["EvalFile"] << Option("eval/nn.bin", on_eval_file); +#else o["EvalFile"] << Option("eval\\nn.bin", on_eval_file); +#endif // When the evaluation function is loaded at the ucinewgame timing, it is necessary to convert the new evaluation function. // I want to hit the test eval convert command, but there is no new evaluation function // It ends abnormally before executing this command.