From: Fabian Fichter Date: Thu, 20 Dec 2018 15:50:36 +0000 (+0100) Subject: Disable NMP for breakthrough and clobber X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=253000bbcc0d055d8f2dc0d6c4afeb894c3e7c1e;p=fairystockfish.git Disable NMP for breakthrough and clobber breakthrough ELO: 29.25 +-30.6 (95%) LOS: 97.0% Total: 500 W: 271 L: 229 D: 0 clobber ELO: 64.66 +-31.0 (95%) LOS: 100.0% Total: 500 W: 296 L: 204 D: 0 --- diff --git a/src/search.cpp b/src/search.cpp index 8108c61..02fb029 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -758,6 +758,7 @@ namespace { && ss->staticEval >= beta - 36 * depth / ONE_PLY + 225 && !excludedMove && pos.non_pawn_material(us) + && (pos.pieces() ^ pos.pieces(BREAKTHROUGH_PIECE) ^ pos.pieces(CLOBBER_PIECE)) && (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor)) { assert(eval - beta >= 0);