projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d0ad653
)
Disable NMP for breakthrough and clobber
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Thu, 20 Dec 2018 15:50:36 +0000 (16:50 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Thu, 20 Dec 2018 15:50:36 +0000 (16:50 +0100)
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
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
8108c61
..
02fb029
100644
(file)
--- 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);