]> git.sesse.net Git - stockfish/commitdiff
Retire MovePicker::see_sign()
authorMarco Costalba <mcostalba@gmail.com>
Wed, 14 Sep 2016 13:43:56 +0000 (15:43 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 14 Sep 2016 13:43:56 +0000 (15:43 +0200)
No more used after last patch.

No functional change.

src/movepick.cpp
src/movepick.h

index 9611315c3a5aedc8c0e55f4d2d5fa23fa4ca3cd0..622ef8a9a9dd896ea9dbcab8257dc7a1ee4cac3a 100644 (file)
@@ -179,11 +179,6 @@ void MovePicker::score<EVASIONS>() {
           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
index 1e1b8e6d1f721a3f5701d4e6e0301cf43b692bc8..36bf58f63ac329821156ea8539a7df20488e63af 100644 (file)
@@ -104,7 +104,6 @@ public:
   MovePicker(const Position&, Move, Depth, Search::Stack*);
 
   Move next_move();
-  int see_sign() const;
 
 private:
   template<GenType> void score();