mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 16:47:37 +00:00
Partially revert pawns storm bug fix
Try to save space and use the minimum size possible. In particular restore int16_t for values and int8_t for halfOpenFiles. Use int16_t for storm values insted of int and also instead of original buggy and too small int8_t. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+3
-3
@@ -58,9 +58,9 @@ private:
|
|||||||
|
|
||||||
Key key;
|
Key key;
|
||||||
Bitboard passedPawns;
|
Bitboard passedPawns;
|
||||||
int mgValue, egValue;
|
int16_t mgValue, egValue;
|
||||||
int ksStormValue[2], qsStormValue[2];
|
int16_t ksStormValue[2], qsStormValue[2];
|
||||||
int halfOpenFiles[2];
|
uint8_t halfOpenFiles[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user