Skip to content
Permalink
Browse files

tweek.

bench 3494062
  • Loading branch information...
Vizvezdenec committed Jan 10, 2019
1 parent a9b201a commit 495248e75b4b334b4928c1b504533e2a1ff4f92d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/search.cpp
@@ -962,8 +962,8 @@ namespace {
// search without the ttMove. So we assume this expected Cut-node is not singular,
// that is multiple moves fail high, and we can prune the whole subtree by returning
// the hard beta bound.
else if (cutNode && singularBeta > beta && (ss-1)->statScore < 23000)
return beta;
else if (cutNode && singularBeta > beta)
return (beta + (singularBeta - beta) * std::max((ss-1)->statScore - 23000, 0) / 8000);
}
else if ( givesCheck // Check extension (~2 Elo)
&& pos.see_ge(move))

0 comments on commit 495248e

Please sign in to comment.
You can’t perform that action at this time.