mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Fix StormOpenFileBonus[] bug
It was erroneusly reversed. Bug from Glaurung times. Probably a full re-tuning is needed anyhow. Spotted and fixed by Ralph Stoesser. After 999 games almost no change, but modified anyway for documentation reasons. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -94,8 +94,8 @@ namespace {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Pawn storm open file bonuses by file
|
// Pawn storm open file bonuses by file
|
||||||
const int16_t KStormOpenFileBonus[8] = { 31, 31, 18, 0, 0, 0, 0, 0 };
|
const int16_t QStormOpenFileBonus[8] = { 31, 31, 18, 0, 0, 0, 0, 0 };
|
||||||
const int16_t QStormOpenFileBonus[8] = { 0, 0, 0, 0, 0, 26, 42, 26 };
|
const int16_t KStormOpenFileBonus[8] = { 0, 0, 0, 0, 0, 26, 42, 26 };
|
||||||
|
|
||||||
// Pawn storm lever bonuses by file
|
// Pawn storm lever bonuses by file
|
||||||
const int StormLeverBonus[8] = { -8, -8, -13, 0, 0, -13, -8, -8 };
|
const int StormLeverBonus[8] = { -8, -8, -13, 0, 0, -13, -8, -8 };
|
||||||
|
|||||||
Reference in New Issue
Block a user