1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Retire MovePicker::see_sign()

No more used after last patch.

No functional change.
This commit is contained in:
Marco Costalba 2016-09-14 15:43:56 +02:00
parent 95ad2b51b7
commit 01ee509a5c
2 changed files with 0 additions and 6 deletions

View 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

View 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();