]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Introduce PieceSquareTable[16][64]
[stockfish] / src / movepick.cpp
index b96b799542556a7f461e29d7b1472bf631689eab..ca99e46135e157a1f5637ca7e8407e3b8bf59dcd 100644 (file)
@@ -221,7 +221,7 @@ void MovePicker::score_noncaptures() {
           hs += 1000;
 
       // pst based scoring
-      cur->score = hs + pos.pst_delta<Position::MidGame>(piece, from, to);
+      cur->score = hs + pos.pst_delta(piece, from, to).mg();
   }
 }