projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6e9bce4
)
Adjust endgame evaluation for KSSK
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 26 Sep 2020 09:43:54 +0000 (11:43 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 26 Sep 2020 09:43:54 +0000 (11:43 +0200)
makruk
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 12891 W: 944 L: 932 D: 11015
http://www.variantfishtest.org:6543/tests/view/
5f5ded636e23db221d9e9184
src/material.cpp
patch
|
blob
|
history
diff --git
a/src/material.cpp
b/src/material.cpp
index
be30d86
..
097a674
100644
(file)
--- a/
src/material.cpp
+++ b/
src/material.cpp
@@
-73,7
+73,7
@@
namespace {
bool is_KXK(const Position& pos, Color us) {
return !more_than_one(pos.pieces(~us))
- && pos.non_pawn_material(us) >= RookValueMg;
+ && pos.non_pawn_material(us) >= std::min(RookValueMg, 2 * SilverValueMg);
}
bool is_KBPsK(const Position& pos, Color us) {