projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe72c93
)
Skip a redundant check
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 14 Apr 2013 21:29:00 +0000
(23:29 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 14 Apr 2013 21:29:25 +0000
(23:29 +0200)
Spotted by Joona
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index 055ee8778be9ac8bfb8beaed1b727b54784bdbbf..1fe895d3cf576e66e622a3767decd3eceac138a5 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-857,7
+857,7
@@
split_point_start: // At split points actual search starts from here
&& !captureOrPromotion
&& !inCheck
&& !dangerous
- && move != ttMove
+ /* && move != ttMove Already implicit in the next condition */
&& bestValue > VALUE_MATED_IN_MAX_PLY)
{
// Move count based pruning