]> git.sesse.net Git - stockfish/commitdiff
Remove pruning condition on alpha
authorMarco Costalba <mcostalba@gmail.com>
Wed, 27 Feb 2013 07:07:26 +0000 (08:07 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 27 Feb 2013 07:07:26 +0000 (08:07 +0100)
Further simplifying on Lucas's idea, seems reliable
in tests:

ELO: 2.15 +-7 (95%) LOS: 84.9%
Total: 9999 W: 1831 L: 1769 D: 6399

src/search.cpp

index c039b64e48a8c6a2f005c8b62df6672ecfa0b8e6..b235a1e6384d98b56d86be13148334b43d43acb2 100644 (file)
@@ -860,8 +860,7 @@ split_point_start: // At split points actual search starts from here
       if (   !captureOrPromotion
           && !inCheck
           && !dangerous
-          &&  move != ttMove
-          &&  alpha > VALUE_MATED_IN_MAX_PLY)
+          &&  move != ttMove)
       {
           // Move count based pruning
           if (   !PvNode