From 4106e127a492aa4c0f5f01112b824fcb678b2d52 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 14 Sep 2013 14:20:14 +0200 Subject: [PATCH] Force iteration to start at 1 in analyze mode Starting at a high depth based on a previous PV is undesirable here, especially when that PV might start with a move that is now excluded. --- iterate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iterate.c b/iterate.c index 1a684bc..e47c42b 100644 --- a/iterate.c +++ b/iterate.c @@ -210,7 +210,7 @@ iterate( tree_t * restrict ptree ) (int)ptree->nsuc_check[0], (int)ptree->nsuc_check[1] ); /* look up last pv. */ - if ( last_pv.length ) + if ( last_pv.length && ! analyze_mode ) { Out( "- a pv was found in the previous search result.\n" ); @@ -223,7 +223,7 @@ iterate( tree_t * restrict ptree ) } /* probe the transposition table, since last pv is not available. */ - if ( ! last_pv.length + if ( ! last_pv.length && ! analyze_mode #if defined(MPV) && ! root_mpv #endif -- 1.7.0.4