From c0964fc70fb2f69dced30d1970650824c3ee4eeb Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 17 Jun 2013 09:30:59 +0200 Subject: [PATCH 1/1] Remove redundant condition in probcut When !ss->skipNullMove it is assured that excludedMove == MOVE_NONE No functional change. --- src/search.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index a10e1180..de6c2542 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; -- 2.39.2