projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d8e56cb
)
Double pinner bonus
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 25 Feb 2012 11:45:34 +0000 (12:45 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Wed, 7 Mar 2012 06:31:43 +0000 (07:31 +0100)
Fine tune newly introduced pinner bonus score:
After 34696 games at 2"+0.05
Mod vs Orig 7474 - 7087 - 20135 ELO +3 (+- 2.4)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/evaluate.cpp
patch
|
blob
|
history
diff --git
a/src/evaluate.cpp
b/src/evaluate.cpp
index
20b8522
..
540f402
100644
(file)
--- a/
src/evaluate.cpp
+++ b/
src/evaluate.cpp
@@
-534,7
+534,7
@@
namespace {
assert(b);
if (single_bit(b) && (b & pos.pieces(Them)))
- score += ThreatBonus[Piece][type_of(pos.piece_on(first_1(b)))] / 2;
+ score += ThreatBonus[Piece][type_of(pos.piece_on(first_1(b)))];
}
// Decrease score if we are attacked by an enemy pawn. Remaining part