]> git.sesse.net Git - stockfish/commitdiff
Merge pull request #9 from glinscott/pawnspan
authorGary Linscott <glinscott@gmail.com>
Thu, 26 Jun 2014 19:21:06 +0000 (12:21 -0700)
committerGary Linscott <glinscott@gmail.com>
Thu, 26 Jun 2014 19:21:06 +0000 (12:21 -0700)
Scale down endgames with pawns on one or two adjacent files

Passed STC
LLR: 2.95 (-2.94,2.94) [-1.50,4.50]
Total: 16081 W: 2745 L: 2604 D: 10732

Passed LTC
LLR: 2.95 (-2.94,2.94) [1.00,6.00]
Total: 123832 W: 17292 L: 16584 D: 89956

128k games to measure ELO at 15+0.05:
ELO: 2.07 +-1.1 (95%) LOS: 100.0%
Total: 128000 W: 21632 L: 20869 D: 85499

New bench: 8028792

src/search.cpp

index 24fde88fc0ef5c1087cb43bdfd41a87d81c35f7f..28fecf87c979cf26312c3c9ced4e277ee93a7129 100644 (file)
@@ -978,8 +978,8 @@ moves_loop: // When in check and at SpNode search starts from here
 
       // Step 19. Check for splitting the search
       if (   !SpNode
+          &&  Threads.size() >= 2
           &&  depth >= Threads.minimumSplitDepth
-          &&  Threads.available_slave(thisThread)
           &&  (   !thisThread->activeSplitPoint
                || !thisThread->activeSplitPoint->allSlavesSearching)
           &&  thisThread->splitPointsSize < MAX_SPLITPOINTS_PER_THREAD)