]> git.sesse.net Git - stockfish/commit
Fix parametrized direction in pawns generation
authorMarco Costalba <mcostalba@gmail.com>
Fri, 15 Jul 2011 09:40:09 +0000 (11:40 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 15 Jul 2011 11:13:55 +0000 (12:13 +0100)
commit37d551fb39a4e631946156fcb76cde7fcde37ba4
tree4d3ac691a9bde47ec9238253e69586fd6fdffd6f
parent9c8c0de538317f4270a62c6b525cad1ff8303d16
Fix parametrized direction in pawns generation

It worked by accident because we always called both directions,
but definition was wrong.

Functional change due to different generation order, but
perft numbers are the correct ones.

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