Skip to content

Commit

Permalink
Bench: 3217669
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Mar 19, 2024
1 parent 644c814 commit 3e695ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int STATIC_PRUNE[2][MAX_SEARCH_PLY];
void InitPruningAndReductionTables() {
for (int depth = 1; depth < MAX_SEARCH_PLY; depth++)
for (int moves = 1; moves < 64; moves++)
LMR[depth][moves] = log(depth) * log(moves) / 2.1872 + 0.2487;
LMR[depth][moves] = log(depth) * log(moves) / 2.25 + 0.25;

LMR[0][0] = LMR[0][1] = LMR[1][0] = 0;

Expand Down Expand Up @@ -715,10 +715,6 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*
if (killerOrCounter)
R -= 2;

// move GAVE check
if (board->checkers)
R--;

// Reduce more on expected cut nodes
// idea from komodo/sf, explained by Don Daily here
// https://talkchess.com/forum3/viewtopic.php?f=7&t=47577&start=10#p519741
Expand Down

0 comments on commit 3e695ec

Please sign in to comment.