Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
MJZ1977 committed Jan 1, 2019
1 parent 89220e1 commit b221164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -835,7 +835,7 @@ namespace {
&& depth >= 5 * ONE_PLY
&& abs(beta) < VALUE_MATE_IN_MAX_PLY)
{
Value raisedBeta = std::min(beta + std::min(148 - 48 * improving + pos.non_pawn_material()/128, 252)
Value raisedBeta = std::min(beta + std::min(148 + pos.non_pawn_material()/128, 252) - 48 * improving
, VALUE_INFINITE);
MovePicker mp(pos, ttMove, raisedBeta - ss->staticEval, &thisThread->captureHistory);
int probCutCount = 0;
Expand Down

0 comments on commit b221164

Please sign in to comment.