X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=f91852cd004d599968b069a2d8065db0976762b5;hb=cf2bafb661da817fb9c409c536efaf26deebbb86;hp=80eeb717f52d548897a5fdf4b7d9119d908aaefd;hpb=7d717df4e4e6284449c3588bd75a45cbb5f307da;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 80eeb717..f91852cd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -673,7 +673,7 @@ namespace { // Stop search if most of MaxSearchTime is consumed at the end of the // iteration. We probably don't have enough time to search the first // move at the next iteration anyway. - if(current_search_time() > ((MaxSearchTime + ExtraSearchTime)*80) / 128) + if(current_search_time() > ((MaxSearchTime + ExtraSearchTime)*90) / 128) stopSearch = true; if(stopSearch) { @@ -2227,7 +2227,7 @@ namespace { bool overTime = t > AbsoluteMaxSearchTime || (RootMoveNumber == 1 && t > MaxSearchTime + ExtraSearchTime) || ( !FailHigh && !fail_high_ply_1() && !Problem - && t > 6*(MaxSearchTime + ExtraSearchTime)); + && t > 10*(MaxSearchTime + ExtraSearchTime)); if ( (Iteration >= 2 && (!InfiniteSearch && overTime)) || (ExactMaxTime && t >= ExactMaxTime)