Skip to content

Commit

Permalink
Widen initial aspiration window (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir authored Dec 24, 2019
1 parent f18ccb9 commit 26b9c15
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 @@ -466,7 +466,7 @@ static int AspirationWindow(Position *pos, SearchInfo *info) {
const int score = info->score;
// Dynamic bonus increasing initial window and relaxation delta
const int bonus = score * score;
const int initialWindow = 8 + bonus / 2048;
const int initialWindow = 12 + bonus / 2048;
const int delta = 64 + bonus / 256;
// Initial window
int alpha = MAX(score - initialWindow, -INFINITE);
Expand Down

0 comments on commit 26b9c15

Please sign in to comment.