Skip to content

Commit

Permalink
Update search.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FauziAkram authored Nov 5, 2023
1 parent a8cae8a commit c9ece75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
if ((ss + 1)->cutoffCnt > 3)
r++;

// Decrease reduction for first generated move (ttMove)
// Set reduction to 0 for first generated move (ttMove)
// Nullifyies all previous reduction adjustments to ttMove and leaves only history to do them
else if (move == ttMove)
r = 0;

Expand Down

0 comments on commit c9ece75

Please sign in to comment.