X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=948b71c8def9e740c644c5653ef66b6206cfa348;hp=ec62c3ff760d21f90dddfcedb8882856733bc0c5;hb=108f0da4d7f993732aa2e854b8f3fa8ca6d3b46c;hpb=e9aeaad05266ca557a9496b5a17b4c5f82f0e946 diff --git a/src/thread.cpp b/src/thread.cpp index ec62c3ff..948b71c8 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -169,7 +169,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, rootMoves.emplace_back(m); if (!rootMoves.empty()) - Tablebases::filter_root_moves(pos, rootMoves); + Tablebases::rank_root_moves(pos, rootMoves); // After ownership transfer 'states' becomes empty, so if we stop the search // and call 'go' again without setting a new position states.get() == NULL.