]> git.sesse.net Git - stockfish/commit
Make sure we make a move at the end of the search when reaching
authorTord Romstad <tord@glaurungchess.com>
Fri, 22 Jan 2010 12:42:33 +0000 (13:42 +0100)
committerTord Romstad <tord@glaurungchess.com>
Fri, 22 Jan 2010 12:42:33 +0000 (13:42 +0100)
commiteb6ddd54f11700ac523792a6411c11d2fba1a511
tree0d8c24ac3140c8eeae123eea03a127b157df198f
parent01ebb3d99688cf4ac3d3b9b4ea95e8b431d0b8c1
Make sure we make a move at the end of the search when reaching
maximum depth during a "go movetime ..." search. This prevents
Stockfish from hanging forever after finding a mate in two or
three while running a test suite at a level of a few seconds
per move.

No functional change when playing games at normal time controls.
src/search.cpp