projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify futility pruning parent node
[stockfish]
/
src
/
search.cpp
diff --git
a/src/search.cpp
b/src/search.cpp
index f9910fb72087dae7f4c2750fd748978d09c7f61d..70520ac9ff74049b534cbf720abd857bd3ac3b40 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1024,10
+1024,9
@@
moves_loop: // When in check, search starts from here
if ( lmrDepth < 6
&& !inCheck
&& ss->staticEval + 235 + 172 * lmrDepth <= alpha
if ( lmrDepth < 6
&& !inCheck
&& ss->staticEval + 235 + 172 * lmrDepth <= alpha
- && thisThread->mainHistory[us][from_to(move)]
- + (*contHist[0])[movedPiece][to_sq(move)]
+ && (*contHist[0])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
- + (*contHist[3])[movedPiece][to_sq(move)] < 2
50
00)
+ + (*contHist[3])[movedPiece][to_sq(move)] < 2
74
00)
continue;
// Prune moves with negative SEE (~20 Elo)
continue;
// Prune moves with negative SEE (~20 Elo)