From 75221fcf5e05c148d1023ea45f40794d9462774a Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Wed, 10 Apr 2013 22:19:21 +0200 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index f58baf39..529a6ffe 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1129,7 +1129,7 @@ split_point_start: // At split points actual search starts from here ss->ply = (ss-1)->ply + 1; // Check for an instant draw or maximum ply reached - if (pos.is_draw() || ss->ply > MAX_PLY) + if (pos.is_draw() || ss->ply > MAX_PLY) return DrawValue[pos.side_to_move()]; // Decide whether or not to include checks, this fixes also the type of -- 2.39.2