From 204efb109bf125e1fdbc8dbb011c13a8e5aa9e8c Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 27 Feb 2011 09:28:30 +0100 Subject: [PATCH] Remove an useless condition in equal SEE pruning Because we are never in check there and evaluation cannot return a mated value the condition is useless. No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 31522607..f35f6b6c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1431,7 +1431,6 @@ split_point_start: // At split points actual search starts from here // Prune moves with negative or equal SEE if ( futilityBase < beta && depth < DEPTH_ZERO - && bestValue > value_mated_in(PLY_MAX) && pos.see(move) <= 0) continue; } -- 2.39.2