mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
A small tweak in doEasyMove()
Time.elapsed() > Time.optimum() * 5 / 44 instaed of: Time.elapsed() > Time.optimum() * 5 / 42 This was yellow on STC: LLR: -2.96 (-2.94,2.94) [0.00,4.00] Total: 156856 W: 28317 L: 27942 D: 100597 Passed on LTC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 36909 W: 4926 L: 4682 D: 27301 Note: Patch was originally submitted by user GuardianRM. However his repo was deleted before merge. No functional change Closes #995
This commit is contained in:
parent
5205d44f87
commit
a753e20bd4
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ void Thread::search() {
|
||||||
|
|
||||||
bool doEasyMove = rootMoves[0].pv[0] == easyMove
|
bool doEasyMove = rootMoves[0].pv[0] == easyMove
|
||||||
&& mainThread->bestMoveChanges < 0.03
|
&& mainThread->bestMoveChanges < 0.03
|
||||||
&& Time.elapsed() > Time.optimum() * 5 / 42;
|
&& Time.elapsed() > Time.optimum() * 5 / 44;
|
||||||
|
|
||||||
if ( rootMoves.size() == 1
|
if ( rootMoves.size() == 1
|
||||||
|| Time.elapsed() > Time.optimum() * unstablePvFactor * improvingFactor / 628
|
|| Time.elapsed() > Time.optimum() * unstablePvFactor * improvingFactor / 628
|
||||||
|
|
Loading…
Add table
Reference in a new issue