We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8df1720 commit 817ca18Copy full SHA for 817ca18
1 file changed
src/search.cpp
@@ -643,10 +643,10 @@ namespace {
643
&& !ss->skipNullMove
644
&& depth < 4 * ONE_PLY
645
&& !inCheck
646
- && eval - FutilityMargins[depth][(ss-1)->futMc] >= beta
+ && eval - futility_margin(depth, (ss-1)->futMc) >= beta
647
&& abs(beta) < VALUE_MATE_IN_MAX_PLY
648
&& pos.non_pawn_material(pos.side_to_move()))
649
- return eval - FutilityMargins[depth][(ss-1)->futMc];
+ return eval - futility_margin(depth, (ss-1)->futMc);
650
651
// Step 8. Null move search with verification search (is omitted in PV nodes)
652
if ( !PvNode
0 commit comments