Skip to content

Commit

Permalink
No opp. on diagonal. Bench: 3273083
Browse files Browse the repository at this point in the history
  • Loading branch information
31m059 committed Jul 15, 2019
1 parent 63cd642 commit 87266bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -794,7 +794,7 @@ namespace {
&& ss->staticEval >= beta - 36 * depth / ONE_PLY + 225
&& !excludedMove
&& pos.non_pawn_material(us)
&& distance(pos.square<KING>(us), pos.square<KING>(~us)) > 2
&& !more_than_one(PseudoAttacks[KING][pos.square<KING>(us)] & PseudoAttacks[KING][pos.square<KING>(~us)])
&& (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor))
{
assert(eval - beta >= 0);
Expand Down

0 comments on commit 87266bb

Please sign in to comment.