Skip to content

Commit 17b155a

Browse files
committed
take 2
bench 11277044
1 parent bd6c9d6 commit 17b155a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/search.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ Value Worker::search(
414414
&& (tt_data->bound() == Bound::Exact
415415
|| (tt_data->bound() == Bound::Lower && tt_data->score >= beta)
416416
|| (tt_data->bound() == Bound::Upper && tt_data->score <= alpha))) {
417+
if (depth <= 7) {
418+
return tt_data->score;
419+
}
420+
417421
if (tt_data->move == Move::none()) {
418422
return tt_data->score;
419423
}

0 commit comments

Comments
 (0)