X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftimeman.cpp;h=5e9304d5c15a4385752a7ec48c96ad98283e415a;hb=29e0d8caa7ba4cda6c1d600887e7056e266f9dde;hp=013d5f462f75e2e010a14fedd5aff7ae4c8e4b22;hpb=a795187c50cdbe00d5364ce049d8673a04803c21;p=stockfish diff --git a/src/timeman.cpp b/src/timeman.cpp index 013d5f46..5e9304d5 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -44,7 +44,7 @@ namespace { double move_importance(int ply) { - return 1 / pow((1 + exp((ply - xshift) / xscale)), skewfactor); + return pow((1 + exp((ply - xshift) / xscale)), -skewfactor); }