Skip to content

Commit

Permalink
Take 13
Browse files Browse the repository at this point in the history
Bench: 15577790
  • Loading branch information
SzilBalazs committed Aug 31, 2023
1 parent 43d87f2 commit bcb74f0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/search/search_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,9 @@ namespace search {
}
}

shared.tt.save(board.get_hash(), depth, convert_tt_score<true>(beta, ss->ply), TT_BETA, move);
if (!is_singular_search) {
shared.tt.save(board.get_hash(), depth, convert_tt_score<true>(beta, ss->ply), TT_BETA, move);
}
return beta;
}

Expand Down Expand Up @@ -494,7 +496,9 @@ namespace search {
stat_tracker::record_fail("skip_quiets");
}

shared.tt.save(board.get_hash(), depth, convert_tt_score<true>(best_score, ss->ply), flag, best_move);
if (!is_singular_search) {
shared.tt.save(board.get_hash(), depth, convert_tt_score<true>(best_score, ss->ply), flag, best_move);
}
return alpha;
}

Expand Down

0 comments on commit bcb74f0

Please sign in to comment.