mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Fix a warning with MSVC
warning C4706: assignment within conditional expression No functional change.
This commit is contained in:
+1
-1
@@ -506,7 +506,7 @@ void Thread::search() {
|
|||||||
|
|
||||||
if ( rootMoves.size() == 1
|
if ( rootMoves.size() == 1
|
||||||
|| Time.elapsed() > Time.optimum() * unstablePvFactor * improvingFactor / 628
|
|| 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
|
// If we are allowed to ponder do not stop the search now but
|
||||||
// keep pondering until the GUI sends "ponderhit" or "stop".
|
// keep pondering until the GUI sends "ponderhit" or "stop".
|
||||||
|
|||||||
Reference in New Issue
Block a user