From 87436e55442e25c2b1d64def7e50a3acadac51dd Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 14 Apr 2013 23:29:00 +0200 Subject: [PATCH] Skip a redundant check Spotted by Joona No functional change. --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 055ee877..1fe895d3 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -857,7 +857,7 @@ split_point_start: // At split points actual search starts from here && !captureOrPromotion && !inCheck && !dangerous - && move != ttMove + /* && move != ttMove Already implicit in the next condition */ && bestValue > VALUE_MATED_IN_MAX_PLY) { // Move count based pruning -- 2.39.2