Skip to content

Commit

Permalink
Lower aspiration window dynamic bonus (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir authored Dec 23, 2019
1 parent 9eae25b commit 8040ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static int AspirationWindow(Position *pos, SearchInfo *info) {

const int score = info->score;
// Dynamic bonus increasing initial window and delta
const int bonus = (score * score) / 64;
const int bonus = (score * score) / 256;
// Delta used for initial window and widening
const int delta = (P_MG / 2) + bonus;
// Initial window
Expand Down

0 comments on commit 8040ab7

Please sign in to comment.