Remove redundant condition in probcut
authorMarco Costalba <mcostalba@gmail.com>
Mon, 17 Jun 2013 07:30:59 +0000 (09:30 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 17 Jun 2013 07:30:59 +0000 (09:30 +0200)
When !ss->skipNullMove it is assured that excludedMove == MOVE_NONE

No functional change.

src/search.cpp

index a10e1180c344a3af45a23bf293386d27cc48ddbf..de6c2542d27805a25069290134107ba91583b282 100644 (file)
@@ -726,7 +726,6 @@ namespace {
         &&  depth >= 5 * ONE_PLY
         && !inCheck
         && !ss->skipNullMove
-        &&  excludedMove == MOVE_NONE
         &&  abs(beta) < VALUE_MATE_IN_MAX_PLY)
     {
         Value rbeta = beta + 200;