From: Marco Costalba Date: Fri, 17 Jul 2009 16:07:45 +0000 (+0100) Subject: Use increased LMR horizont also in PV search X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=15eb59683ed00a4b1fba9eec609f0e1ce2442b79;hp=620cfbb6760911a9f2ce188cd7244d86a76953c2 Use increased LMR horizont also in PV search Tord says that using a lower horizon at PV nodes looks strange and inconsistent with the general philosophy of our search (i.e. always being more conservative at PV nodes). So set LMR at 3 also on search_pv(). Test result after 601 games seems to confirm this. Mod vs Orig +156 =318 -127 52.41% 315.0/601 +17 ELO Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index b4e9b14c..de343144 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1080,7 +1080,7 @@ namespace { { // Try to reduce non-pv search depth by one ply if move seems not problematic, // if the move fails high will be re-searched at full depth. - if ( depth >= 2*OnePly + if ( depth >= 3*OnePly && moveCount >= LMRPVMoves && !dangerous && !moveIsCapture