Double pinner bonus
authorMarco Costalba <mcostalba@gmail.com>
Sat, 25 Feb 2012 11:45:34 +0000 (12:45 +0100)
committerMarco 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

index 20b852285def8e8ec16766511f827a08074147e3..540f402e7187bdbe6fbca0a1e9fe3bb81b62d8c5 100644 (file)
@@ -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