X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=de343144b4c02efac3fe56c482c6f3bb244c7fea;hp=695d4ae540ee432412de71c7791b564c0b717459;hb=15eb59683ed00a4b1fba9eec609f0e1ce2442b79;hpb=5c20f59788c30cdfc5b1d16dae125ab394c5145c diff --git a/src/search.cpp b/src/search.cpp index 695d4ae5..de343144 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1080,7 +1080,7 @@ namespace { { // Try to reduce non-pv search depth by one ply if move seems not problematic, // if the move fails high will be re-searched at full depth. - if ( depth >= 2*OnePly + if ( depth >= 3*OnePly && moveCount >= LMRPVMoves && !dangerous && !moveIsCapture @@ -1364,7 +1364,7 @@ namespace { // Try to reduce non-pv search depth by one ply if move seems not problematic, // if the move fails high will be re-searched at full depth. - if ( depth >= 2*OnePly + if ( depth >= 3*OnePly && moveCount >= LMRNonPVMoves && !dangerous && !moveIsCapture @@ -1492,7 +1492,6 @@ namespace { else if (tte && tte->type() == VALUE_TYPE_EVAL) { // Use the cached evaluation score if possible - assert(tte->value() == evaluate(pos, ei, threadID)); assert(ei.futilityMargin == Value(0)); staticValue = tte->value();