X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=e56b2c7f60e4839843cdd95ff04219e2c86b4d53;hp=dcf3e6134a4a5d4c83c48a1542f85f8ec3ebb23f;hb=a0cc15ccbc5dc48ea3c871915c8f96c7a624597d;hpb=7f142d68179919a507204e7980fff4f79648dbbc diff --git a/src/search.cpp b/src/search.cpp index dcf3e613..e56b2c7f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -84,7 +84,7 @@ namespace { size_t PVSize, PVIdx; TimeManager TimeMgr; - float BestMoveChanges; + double BestMoveChanges; Value DrawValue[COLOR_NB]; HistoryStats History; GainsStats Gains; @@ -333,7 +333,7 @@ namespace { while (++depth <= MAX_PLY && !Signals.stop && (!Limits.depth || depth <= Limits.depth)) { // Age out PV variability metric - BestMoveChanges *= 0.8f; + BestMoveChanges *= 0.8; // Save last iteration's scores before first PV line is searched and all // the move scores but the (new) PV are set to -VALUE_INFINITE.