]> git.sesse.net Git - stockfish/commitdiff
Remove unreachable values in mobility table
authorMarco Costalba <mcostalba@gmail.com>
Sat, 7 Sep 2013 16:25:24 +0000 (18:25 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 7 Sep 2013 16:25:24 +0000 (18:25 +0200)
The possible maximum mobility cardinality (plus one in case of
zero squares available) is:

- Knights: max. 8  squares -> max. 9  entries
- Bishops: max. 13 squares -> max. 14 entries
- Rooks:   max. 14 squares -> max. 15 entries
- Queen:   max. 27 squares -> max. 28 entries

So remove the extra entries in the table.

Spotted by Dariusz Orzechowski.

No functional change.


No differences found