Skip to content

Commit

Permalink
always do evaluation
Browse files Browse the repository at this point in the history
test r15
  • Loading branch information
dhbloo committed Jun 13, 2024
1 parent af703ba commit 61b4b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth

if (oppo4) {
// Use static evaluation from previous ply if opponent makes a four/five attack
ss->staticEval = -(ss - 1)->staticEval;
ss->staticEval = Evaluation::evaluate<Rule>(board, alpha, beta);

// Skip early pruning when we only have one possible move
if (oppo5)
Expand Down

0 comments on commit 61b4b3d

Please sign in to comment.