]> git.sesse.net Git - stockfish/commitdiff
Fix an assert when we stop the search
authorMarco Costalba <mcostalba@gmail.com>
Wed, 24 Oct 2012 22:07:16 +0000 (00:07 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 24 Oct 2012 22:07:59 +0000 (00:07 +0200)
When signal 'stop' is raised we return bestValue
that could be still set at -VALUE_INFINITE and
this triggers an assert. Fix it by returning
a value we know for sure is not +-VALUE_INFINITE.

Reported by 平岡拓也 Hiraoka.

No functional change.


No differences found