]> git.sesse.net Git - stockfish/commitdiff
Fix the polling frequency when pondering
authorMarco Costalba <mcostalba@gmail.com>
Thu, 8 Oct 2009 08:09:19 +0000 (09:09 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 8 Oct 2009 08:09:19 +0000 (09:09 +0100)
When pondering InfiniteSearch == false but myTime == 0 so that
NodesBetweenPolls = 1000 instead of the standard.

The patch fixes the bug and is more robust because checks
directly myTime for a non-zero value, without relying on
an indirect test (InfiniteSearch in this case).

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found