From: VoyagerOne Date: Fri, 4 Nov 2016 00:29:34 +0000 (-0400) Subject: Reduction Simplification X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b915fdc889e7e154e030189d277b5242433407b4;hp=67d19447f45fbfb01a359530549b0fffeb11f61f Reduction Simplification Simplify reduction formula by removing a parameter. STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 35798 W: 6368 L: 6272 D: 23158 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 125375 W: 15827 L: 15839 D: 93709 Bench: 4735038 --- diff --git a/src/search.cpp b/src/search.cpp index 9c3e17b6..0ed6b191 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -183,8 +183,6 @@ void Search::init() { for (int mc = 1; mc < 64; ++mc) { double r = log(d) * log(mc) / 2; - if (r < 0.80) - continue; Reductions[NonPV][imp][d][mc] = int(std::round(r)); Reductions[PV][imp][d][mc] = std::max(Reductions[NonPV][imp][d][mc] - 1, 0);