mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Fix warning: double to float truncation
MSVC 2013 says: warning C4305: '*=' : truncation from 'double' to 'float' No functional change.
This commit is contained in:
+1
-1
@@ -333,7 +333,7 @@ namespace {
|
|||||||
while (++depth <= MAX_PLY && !Signals.stop && (!Limits.depth || depth <= Limits.depth))
|
while (++depth <= MAX_PLY && !Signals.stop && (!Limits.depth || depth <= Limits.depth))
|
||||||
{
|
{
|
||||||
// Age out PV variability metric
|
// Age out PV variability metric
|
||||||
BestMoveChanges *= 0.8;
|
BestMoveChanges *= 0.8f;
|
||||||
|
|
||||||
// Save last iteration's scores before first PV line is searched and all
|
// 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.
|
// the move scores but the (new) PV are set to -VALUE_INFINITE.
|
||||||
|
|||||||
Reference in New Issue
Block a user