]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Revert see() shortcut for LxH and equal captures
[stockfish] / src / movepick.cpp
index 52c1f728ac70b42766ec14bd22d74d3c8017d9f3..d4242a300de7620e5f58665cb20c7e5ff0aa102c 100644 (file)
@@ -270,10 +270,11 @@ void MovePicker::score_noncaptures() {
       else
           hs = H.move_ordering_score(pos.piece_on(move_from(m)), m);
 
-      // Ensure moves in history are always sorted as first
+      // Ensure history is always preferred to pst
       if (hs > 0)
           hs += 1000;
 
+      // pst based scoring
       moves[i].score = hs + pos.mg_pst_delta(m);
   }
 }
@@ -292,7 +293,6 @@ void MovePicker::score_evasions() {
       } else
           moves[i].score = H.move_ordering_score(pos.piece_on(move_from(m)), m);
   }
-  // FIXME try psqt also here
 }
 
 void MovePicker::score_qcaptures() {