From: Joona Kiiski Date: Wed, 10 Apr 2013 20:19:21 +0000 (+0200) Subject: Always check repetition X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=75221fcf5e05c148d1023ea45f40794d9462774a 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 --- 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