]> git.sesse.net Git - stockfish/commit
Fix a very old bug in queen mobility
authorMarco Costalba <mcostalba@gmail.com>
Sat, 10 Jan 2009 15:11:33 +0000 (16:11 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 10 Jan 2009 15:11:33 +0000 (16:11 +0100)
commit4b53bb02f69bd838b271b7919d1070580d6f73a7
tree086465170918bf26836b5a9d0f1e893fcabbc36f
parentec2927286a7bd3cb6ae68a4f3feaee1036b8196d
Fix a very old bug in queen mobility

For queen mobility could be bigger then 15, so
we need count_1s() not count_1s_max_15().

This bug was introduced by patch:
"Group common evaluate code" of 24/9/2008

So it's almost 4 months and two release old!

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/evaluate.cpp