From 253000bbcc0d055d8f2dc0d6c4afeb894c3e7c1e Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Thu, 20 Dec 2018 16:50:36 +0100 Subject: [PATCH] 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 --- src/search.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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); -- 1.7.0.4