Skip to content

Commit 75221fc

Browse files
zamarmcostalba
authored andcommitted
Always check repetition
It seems stronger both at fast 15+0.05 TC with fixed game number test: ELO: 2.74 +-2.7 (95%) LOS: 97.6% Total: 24000 W: 4698 L: 4509 D: 14793 And also at long 60+0.05 TC with SPRT LLR: 3.05 (-2.94,2.94) Total: 38986 W: 6845 L: 6547 D: 25594 bench: 5157061
1 parent a95cbca commit 75221fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ namespace {
11291129
ss->ply = (ss-1)->ply + 1;
11301130

11311131
// Check for an instant draw or maximum ply reached
1132-
if (pos.is_draw<true>() || ss->ply > MAX_PLY)
1132+
if (pos.is_draw<false>() || ss->ply > MAX_PLY)
11331133
return DrawValue[pos.side_to_move()];
11341134

11351135
// Decide whether or not to include checks, this fixes also the type of

0 commit comments

Comments
 (0)