]> git.sesse.net Git - stockfish/blobdiff - src/position.cpp
Convert MaterialInfo and PawnInfo to use Score
[stockfish] / src / position.cpp
index c43cde790a4cfd225b6ebcb3990bdf6aed81adcb..b6c0a522e204edb3889e02d26036932d1e7da3d7 100644 (file)
@@ -721,7 +721,7 @@ void Position::do_move(Move m, StateInfo& newSt, Bitboard dcCandidates) {
     Key key, pawnKey, materialKey;
     int castleRights, rule50, pliesFromNull;
     Square epSquare;
-    Value mgValue, egValue;
+    Value value;
     Value npMaterial[2];
   };