We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac7566 commit 5337edfCopy full SHA for 5337edf
src/search.cpp
@@ -1380,15 +1380,13 @@ Value Search::Worker::search(
1380
assert(value >= beta); // Fail high
1381
break;
1382
}
1383
- else
1384
- {
1385
- // Reduce other moves if we have found at least one score improvement
1386
- if (depth > 2 && depth < 16 && !is_decisive(value))
1387
- depth -= 2;
1388
1389
- assert(depth > 0);
1390
- alpha = value; // Update alpha! Always alpha < beta
1391
- }
+ // 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
1392
1393
1394
0 commit comments