X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=152de13c861d6689f803327424c8a419db79b19c;hp=1317fc239ddc46c22f89167b2516f645ed33aa13;hb=a1b62d68ec59aae504a9e39bfd3a7dfa4a831d29;hpb=222f59b9c1537f22db65c6104072f5e0f68c1fbc diff --git a/src/search.cpp b/src/search.cpp index 1317fc23..152de13c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -126,6 +126,7 @@ void Search::init() { { double pvRed = 0.00 + log(double(hd)) * log(double(mc)) / 3.00; double nonPVRed = 0.33 + log(double(hd)) * log(double(mc)) / 2.25; + Reductions[1][1][hd][mc] = int8_t( pvRed >= 1.0 ? pvRed + 0.5: 0); Reductions[0][1][hd][mc] = int8_t(nonPVRed >= 1.0 ? nonPVRed + 0.5: 0);