]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Reorder evaluation start
[stockfish] / src / movepick.cpp
index 78765beccabc228f0a8c8346866866b061a0d700..4971b304ba0c12f550151564ba0fe5c038c5c61c 100644 (file)
@@ -243,6 +243,11 @@ void MovePicker::generate_next_stage() {
   }
 }
 
+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