From 01ee509a5c33e11d7d62d2f325f55720d8be9cfb Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Wed, 14 Sep 2016 15:43:56 +0200 Subject: [PATCH] Retire MovePicker::see_sign() No more used after last patch. No functional change. --- src/movepick.cpp | 5 ----- src/movepick.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/movepick.cpp b/src/movepick.cpp index 9611315c..622ef8a9 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -179,11 +179,6 @@ void MovePicker::score() { m.value = history[pos.moved_piece(m)][to_sq(m)] + fromTo.get(c, m); } -int MovePicker::see_sign() const -{ - return stage == GOOD_CAPTURES ? 1 - : stage == BAD_CAPTURES ? -1 : 0; -} /// next_move() is the most important method of the MovePicker class. It returns /// a new pseudo legal move every time it is called, until there are no more moves diff --git a/src/movepick.h b/src/movepick.h index 1e1b8e6d..36bf58f6 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -104,7 +104,6 @@ public: MovePicker(const Position&, Move, Depth, Search::Stack*); Move next_move(); - int see_sign() const; private: template void score(); -- 2.39.2