We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72655d commit adf5930Copy full SHA for adf5930
1 file changed
src/search.cpp
@@ -415,6 +415,10 @@ Value Worker::search(
415
&& (tt_data->bound() == Bound::Exact
416
|| (tt_data->bound() == Bound::Lower && tt_data->score >= beta)
417
|| (tt_data->bound() == Bound::Upper && tt_data->score <= alpha))) {
418
+ if (depth <= 7) {
419
+ return tt_data->score;
420
+ }
421
+
422
if (tt_data->move == Move::none()) {
423
return tt_data->score;
424
}
0 commit comments