mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix a warning with MSVC
warning C4706: assignment within conditional expression No functional change.
This commit is contained in:
parent
ea41f18e6e
commit
92f01aa2bd
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ void Thread::search() {
|
|||
|
||||
if ( rootMoves.size() == 1
|
||||
|| Time.elapsed() > Time.optimum() * unstablePvFactor * improvingFactor / 628
|
||||
|| (mainThread->easyMovePlayed = doEasyMove))
|
||||
|| (mainThread->easyMovePlayed = doEasyMove, doEasyMove))
|
||||
{
|
||||
// If we are allowed to ponder do not stop the search now but
|
||||
// keep pondering until the GUI sends "ponderhit" or "stop".
|
||||
|
|
Loading…
Add table
Reference in a new issue