]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
LMR Root Node Simplification
[stockfish] / src / thread.cpp
index 1aa66a816619549c60f76f38cf8b030e0828a48d..b46fce5e873933494031eade0330582b48003e11 100644 (file)
@@ -51,17 +51,6 @@ Thread::~Thread() {
 }
 
 
-/// Thread::bestMoveCount(Move move) return best move counter for the given root move
-
-int Thread::best_move_count(Move move) const {
-
-  auto rm = std::find(rootMoves.begin() + pvIdx,
-                      rootMoves.begin() + pvLast, move);
-
-  return rm != rootMoves.begin() + pvLast ? rm->bestMoveCount : 0;
-}
-
-
 /// Thread::clear() reset histories, usually before a new game
 
 void Thread::clear() {