From a29d321e21977acf6397dd6b8a602b443c5db13c Mon Sep 17 00:00:00 2001 From: Maurizio Monge Date: Tue, 9 Oct 2007 01:53:06 +0200 Subject: [PATCH] More LMR tuning. --- search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.cpp b/search.cpp index 37a8b57..e52c4cc 100644 --- a/search.cpp +++ b/search.cpp @@ -968,7 +968,7 @@ int16_t SearchRoot::search(int ply, int base_depth, bool pv, int16_t orig_alpha, // (history_hit[HISTORY_INDEX(s->moves[i])]+1)*3 // < (history_tot[HISTORY_INDEX(s->moves[i])]+1)) if( (sdepth>0) && !s->under_check && !s->null_threat_dangerous - && s->moves[i].val<28000 && s->moves[i].val<450 ) + && s->moves[i].val<28000 && (s->moves[i].val<(sdepth<=PLY ? 650 : 450)) ) { int rdepth = sdepth - PLY; //(s->moves[i].val<300 ? 2*PLY : PLY) - s->moves[i].extend; GUI1(notify(s->moves[i], ply, rdepth, s->moves[i].val, alpha, alpha+1, SearchGui::Italic|SearchGui::Gray )); -- 2.11.4.GIT