mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Fix MSVC warning from previous patch
No functional change.
This commit is contained in:
parent
57dfe41ddb
commit
ffbaa1c5a8
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public:
|
||||||
void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; }
|
void pv_instability(double bestMoveChanges) { unstablePvFactor = 1 + bestMoveChanges; }
|
||||||
int available() const { return int(optimumTime * unstablePvFactor * 0.76); }
|
int available() const { return int(optimumTime * unstablePvFactor * 0.76); }
|
||||||
int maximum() const { return maximumTime; }
|
int maximum() const { return maximumTime; }
|
||||||
int elapsed() const { return Search::Limits.npmsec ? Search::RootPos.nodes_searched() : now() - start; }
|
int elapsed() const { return int(Search::Limits.npmsec ? Search::RootPos.nodes_searched() : now() - start); }
|
||||||
|
|
||||||
int64_t availableNodes; // When in 'nodes as time' mode
|
int64_t availableNodes; // When in 'nodes as time' mode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue