projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
27d1946
)
Remove redundant LMR condition
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 19 Jun 2020 19:03:01 +0000 (21:03 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Fri, 19 Jun 2020 19:03:01 +0000 (21:03 +0200)
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
7629f9e
..
67c713a
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1236,7
+1236,7
@@
moves_loop: // When in check, search starts from here
if (singularLMR)
r -= 2;
- if (!captureOrPromotion && !(pos.must_capture() && MoveList<CAPTURES>(pos).size()))
+ if (!captureOrPromotion)
{
// Increase reduction if ttMove is a capture (~5 Elo)
if (ttCapture)