]> git.sesse.net Git - stockfish/commit
Fix a silly unstoppable eval bug
authorMarco Costalba <mcostalba@gmail.com>
Mon, 16 Sep 2013 21:59:37 +0000 (23:59 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 16 Sep 2013 21:59:37 +0000 (23:59 +0200)
commitd50b33cacd25483998a4bdc99038f4d1666c5d53
tree6423769e2f1677d66fd827a9d2123f283a3d68f3
parent77b5ee0117e86736817cf90f64055dce1ddbc55e
Fix a silly unstoppable eval bug

The logic is broken for black side because we get more bonus
for pawn in 7th rank than for pawn in 2nd rank!

Spotted by Reuven Peleg

bench:3884409
src/evaluate.cpp