fixed nodes bestmove printing | bench 6448969
This commit is contained in:
1 parent
e7d8044745
commit
307bbfede2
1 file changed
+1
-1
+1
-1
@@ -855,7 +855,7 @@ SearchResults SearchPosition(Board &board, SearchParams params, SearchContext* c
|
||||
|
||||
SearchResults results = ID<mode>(board, params, ctx);
|
||||
|
||||
if constexpr (mode != normal) return results;
|
||||
if constexpr (mode != normal && mode != nodesMode) return results;
|
||||
|
||||
std::cout << "bestmove ";
|
||||
results.bestMove.PrintMove();
|
||||
|
||||
Reference in new issue
Block a user