projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use special null move technique in low depth.
[stockfish]
/
src
/
search.cpp
diff --git
a/src/search.cpp
b/src/search.cpp
index 804108b42b3815487692eac98bfa866c69ad9a6d..944d9c6926a6b8a4e71eb0617f03743e5f380e0a 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1282,7
+1282,7
@@
namespace {
bool isCheck = pos.is_check();
bool useNullMove = ( allowNullmove
- && depth > OnePly
+
//
&& depth > OnePly
&& !isCheck
&& !value_is_mate(beta)
&& ok_to_do_nullmove(pos)