From 4095ff0ee51bdc76c247bd11d5f3a7008974e2ad Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 16 Jul 2015 08:17:40 +0200 Subject: [PATCH 1/1] Fix formatting of previous patch No functional change. --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index b9ff56fb..496df5db 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -959,8 +959,8 @@ moves_loop: // When in check and at SpNode search starts from here ss->reduction += ONE_PLY; if ( History[pos.piece_on(to_sq(move))][to_sq(move)] > VALUE_ZERO - && CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq] - [pos.piece_on(to_sq(move))][to_sq(move)] > VALUE_ZERO) + && CounterMovesHistory[pos.piece_on(prevMoveSq)][prevMoveSq] + [pos.piece_on(to_sq(move))][to_sq(move)] > VALUE_ZERO) ss->reduction = std::max(DEPTH_ZERO, ss->reduction - ONE_PLY); // Decrease reduction for moves that escape a capture -- 2.39.2