Skip to content

Commit adf5930

Browse files
committed
take 2
bench 11277044
1 parent c72655d commit adf5930

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/search.cpp

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

0 commit comments

Comments
 (0)