We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb21bb commit 7a2fb22Copy full SHA for 7a2fb22
src/search.cpp
@@ -1277,15 +1277,13 @@ Value Search::Worker::search(
1277
assert(value >= beta); // Fail high
1278
break;
1279
}
1280
- else
1281
- {
1282
- // Reduce other moves if we have found at least one score improvement
1283
- if (depth > 2 && depth < 11 && !is_decisive(value))
1284
- depth -= 2;
1285
1286
- assert(depth > 0);
1287
- alpha = value; // Update alpha! Always alpha < beta
1288
- }
+ // Reduce other moves if we have found at least one score improvement
+ if (depth > 2 && depth < 11 && !is_decisive(value))
+ depth -= 2;
+
+ assert(depth > 0);
+ alpha = value; // Update alpha! Always alpha < beta
1289
1290
1291
0 commit comments