]> git.sesse.net Git - stockfish/commit
Fix a bug in generate_evasions()
authorMarco Costalba <mcostalba@gmail.com>
Mon, 27 Oct 2008 09:15:51 +0000 (10:15 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 1 Nov 2008 11:46:51 +0000 (12:46 +0100)
commit5e2fc2aa165b3c0406bcf98c773b952e20f50325
tree9882839c40c5aa1c29ed5541bcb4cee6808ebebe
parent74fd57220e4e5a214761adc2d12335a12bef56f3
Fix a bug in generate_evasions()

Introduced in the patch "movegen: prefer (*mlist++) to mlist[n++]"

This was nasty because due to a mismerge the repo in one PC had the bug,
but the testing one did not, so I had non reproducible results according
to which machine I used for testing.

This hopefully closes a more then one week regression that made me go crazy!

It was found by accident comparing, for other reasons, the sources of the
two PC's.

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