diff --git a/src/search.cpp b/src/search.cpp index ddc27156..9f44defb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1380,15 +1380,13 @@ moves_loop: // When in check, search starts here assert(value >= beta); // Fail high break; } - else - { - // Reduce other moves if we have found at least one score improvement - if (depth > 2 && depth < 16 && !is_decisive(value)) - depth -= 2; - assert(depth > 0); - alpha = value; // Update alpha! Always alpha < beta - } + // Reduce other moves if we have found at least one score improvement + if (depth > 2 && depth < 16 && !is_decisive(value)) + depth -= 2; + + assert(depth > 0); + alpha = value; // Update alpha! Always alpha < beta } }