]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Code style fixes in search.cpp
[stockfish] / src / thread.cpp
index 97beb58009eb2feb855e9b725c0290606581e92f..6516192d3700cc4dea05ba26f396cc09a6e37594 100644 (file)
@@ -147,7 +147,7 @@ void ThreadPool::clear() {
 
   main()->callsCnt = 0;
   main()->previousScore = VALUE_INFINITE;
-  main()->previousTimeReduction = 1;
+  main()->previousTimeReduction = 1.0;
 }
 
 /// ThreadPool::start_thinking() wakes up main thread waiting in idle_loop() and