projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cd71dc6
)
Revert regressive minishogi patch
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Wed, 2 Jan 2019 13:55:23 +0000 (14:55 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Wed, 2 Jan 2019 13:55:23 +0000 (14:55 +0100)
Further testing indicates that the initial test results were flawed.
minishogi
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 806 W: 437 L: 327 D: 42
src/evaluate.cpp
patch
|
blob
|
history
diff --git
a/src/evaluate.cpp
b/src/evaluate.cpp
index
b1d65b3
..
345b1e1
100644
(file)
--- a/
src/evaluate.cpp
+++ b/
src/evaluate.cpp
@@
-580,7
+580,7
@@
namespace {
// For drop games, king danger is independent of game phase
if (pos.captures_to_hand())
- score = make_score(mg_value(score), mg_value(score)) / (1 + !pos.shogi_doubled_pawn());
+ score = make_score(mg_value(score), mg_value(score)) / (1 + 2 * !pos.shogi_doubled_pawn());
if (T)
Trace::add(KING, Us, score);