]> git.sesse.net Git - stockfish/commit
Fix isolated and backward pawns scoring
authorMarco Costalba <mcostalba@gmail.com>
Sat, 17 Jul 2010 16:32:54 +0000 (17:32 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 17 Jul 2010 16:32:54 +0000 (17:32 +0100)
commit6e06db93fde225eeae75dc8b3d5d1432c5cd14a8
treecca1db141c8fab9f7f5e1c52c177e383df16caca
parent53bbcb78d55c0341805b7666f9245737df97a63b
Fix isolated and backward pawns scoring

It is more clear and also more correct because we
consider enemy pawns only in fornt of us and not just
on our file.

Very small functional change, almost not measurable, but
keep the patch for documenting purposes.

Spotted by Marek Kwiatkowski.

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