]> git.sesse.net Git - stockfish/commit - src/movegen.h
Fixed a bug in PV extraction from the transposition table: The
authorTord Romstad <tord@glaurungchess.com>
Thu, 6 Aug 2009 16:07:32 +0000 (18:07 +0200)
committerTord Romstad <tord@glaurungchess.com>
Thu, 6 Aug 2009 16:07:32 +0000 (18:07 +0200)
commitae4967744686ae6e95ca0cdb9e0d788de05d4e03
treede4fe3ec14edb1a4d58b4f2749940e3e5aa00d6b
parent2fff532f4e80c8e2e61d8b3955447f13124d40f0
Fixed a bug in PV extraction from the transposition table: The
previous used move_is_legal to verify that the move from the TT
was legal, and the old version of move_is_legal only works when
the side to move is not in check. Fixed this by adding a separate,
slower version of move_is_legal which works even when the side to
move is in check.
src/movegen.cpp
src/movegen.h
src/tt.cpp