]> git.sesse.net Git - stockfish/commitdiff
Back to CLOP average values
authorGary Linscott <glinscott@gmail.com>
Sun, 17 Feb 2013 03:36:58 +0000 (22:36 -0500)
committerGary Linscott <glinscott@gmail.com>
Sun, 17 Feb 2013 03:36:58 +0000 (22:36 -0500)
src/evaluate.cpp
src/ucioption.cpp

index c8124eee06f3a3ac6f51b9305a97a989be47959d..2cb9979d295a863900c13bca115404251e0cafd9 100644 (file)
@@ -151,7 +151,7 @@ namespace {
   #undef S
 
   // CLOP now likes 85, 31 - try next
-  Score BishopPinBonus = make_score(66, 11);
+  const Score BishopPinBonus = make_score(34, 17);
 
   // Bonus for having the side to move (modified by Joona Kiiski)
   const Score Tempo = make_score(24, 11);
@@ -309,8 +309,6 @@ namespace Eval {
         KingDangerTable[0][i] = apply_weight(make_score(t, 0), make_score(KingDanger[0], 0));
         KingDangerTable[1][i] = apply_weight(make_score(t, 0), make_score(KingDanger[1], 0));
     }
-
-    BishopPinBonus = make_score(Options["pin_open"], Options["pin_end"]);
   }
 
 
index bc4a64814d2f747dda86c578489a46e2c249e50d..e59a43a9148f620c7ccbc7000bd0d806fc53eda0 100644 (file)
@@ -87,8 +87,6 @@ void init(OptionsMap& o) {
   o["Slow Mover"]                  = Option(100, 10, 1000);
   o["UCI_Chess960"]                = Option(false);
   o["UCI_AnalyseMode"]             = Option(false, on_eval);
-  o["pin_open"] = Option(66, -100, 100, on_eval);
-  o["pin_end"] = Option(11, -100, 100, on_eval);
 }