Fix a warning with MSVC
warning C4706: assignment within conditional expression No functional change.pull/805/head
parent
ea41f18e6e
commit
92f01aa2bd
|
@ -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…
Reference in New Issue