X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=ed7d6a3499e1838b025fb43b0328ee561bb93edc;hp=17e54e4cd3cbedc32a9656f314fa8ac1514790f2;hb=8e269d781af106846916dd647f26ea7aeaa2ca0a;hpb=f16c231bc9b239cc270e3103be93899f3204df76 diff --git a/src/search.cpp b/src/search.cpp index 17e54e4c..ed7d6a34 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -549,8 +549,8 @@ void init_search() { for (int i = 1; i < 64; i++) // i == depth (OnePly = 1) for (int j = 1; j < 64; j++) // j == moveNumber { - double pvRed = 0.5 + log(double(i)) * log(double(j)) / 6.0; - double nonPVRed = 0.5 + log(double(i)) * log(double(j)) / 3.0; + double pvRed = log(double(i)) * log(double(j)) / 3.0; + double nonPVRed = log(double(i)) * log(double(j)) / 1.5; PVReductionMatrix[i][j] = (int8_t) ( pvRed >= 1.0 ? floor( pvRed * int(OnePly)) : 0); NonPVReductionMatrix[i][j] = (int8_t) (nonPVRed >= 1.0 ? floor(nonPVRed * int(OnePly)) : 0); }