Skip to content

Commit

Permalink
Some output to the GUI if NNUE is disabled.
Browse files Browse the repository at this point in the history
Increase version number.
  • Loading branch information
Matthies committed Feb 3, 2021
1 parent 79a7c91 commit a3cb259
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/RubiChess.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#pragma once

#define VERNUM "2.0"
#define VERNUM "2.0.1"
#define VERSTABLE

// Disable this to compile without NNUE evaluation
Expand Down
5 changes: 3 additions & 2 deletions src/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2520,14 +2520,15 @@ static void uciSetSyzygyPath()
#ifdef NNUE
static void uciSetNnuePath()
{
NnueReady = NnueDisabled;

if (!en.usennue)
{
if (NnueReady != NnueDisabled)
cout << "info string NNUE evaluation is disabled.\n";
NnueReady = NnueDisabled;
return;
}

NnueReady = NnueDisabled;
cout << "info string Loading net " << en.NnueNetpath << " ...";

ifstream is;
Expand Down

0 comments on commit a3cb259

Please sign in to comment.