projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
87ca109
)
Update reference bench
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Sun, 12 Jul 2020 18:19:40 +0000 (20:19 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Sun, 12 Jul 2020 18:19:40 +0000 (20:19 +0200)
bench: 4964428
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
30b1e2d
..
1cad83b
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1566,7
+1566,7
@@
moves_loop: // When in check, search starts from here
// Futility pruning
if ( !inCheck
&& !givesCheck
- && !( pos.extinction_value() != VALUE_NONE
+ && !( pos.extinction_value() == -VALUE_MATE
&& pos.piece_on(to_sq(move))
&& pos.extinction_piece_types().find(type_of(pos.piece_on(to_sq(move)))) != pos.extinction_piece_types().end())
&& futilityBase > -VALUE_KNOWN_WIN