mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +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:
parent
59702aca0d
commit
bf51db2526
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue