mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Add assertion for the maximum number of pawns
No functionl change Closes #1039
This commit is contained in:
committed by
Joona Kiiski
parent
c5de4080db
commit
06eba14dc9
@@ -54,7 +54,7 @@ namespace {
|
||||
};
|
||||
|
||||
// PawnsSet[count] contains a bonus/malus indexed by number of pawns
|
||||
const int PawnsSet[9] = {
|
||||
const int PawnsSet[FILE_NB + 1] = {
|
||||
24, -32, 107, -51, 117, -9, -126, -21, 31
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user