]> git.sesse.net Git - stockfish/commitdiff
Half History Max
authorlucasart <lucas.braesch@gmail.com>
Sun, 16 Nov 2014 23:04:58 +0000 (07:04 +0800)
committerGary Linscott <glinscott@gmail.com>
Sun, 16 Nov 2014 23:04:58 +0000 (07:04 +0800)
STC
LLR: 3.35 (-2.94,2.94) [-0.50,3.50]
Total: 17993 W: 3740 L: 3508 D: 10745

LTC
LLR: 3.25 (-2.94,2.94) [0.00,4.00]
Total: 21346 W: 3691 L: 3453 D: 14202

Bench: 7694316

Resolves #120

src/movepick.h
src/search.cpp

index c512d130e497dfa9bb54146371ad7a97e049ce5f..b9d2594af114e447d987d39ec9edfc12a8cd8955 100644 (file)
@@ -40,7 +40,7 @@
 template<bool Gain, typename T>
 struct Stats {
 
-  static const Value Max = Value(2000);
+  static const Value Max = Value(250);
 
   const T* operator[](Piece pc) const { return table[pc]; }
   void clear() { std::memset(table, 0, sizeof(table)); }
index ccea71ca0842eaaa073cde03f9987ed934e4eaca..5e356115b00eb5944c58bde4f069b861e9b13ede 100644 (file)
@@ -1252,7 +1252,7 @@ moves_loop: // When in check and at SpNode search starts from here
 
     // Increase history value of the cut-off move and decrease all the other
     // played quiet moves.
-    Value bonus = Value(4 * int(depth) * int(depth));
+    Value bonus = Value(int(depth) * int(depth));
     History.update(pos.moved_piece(move), to_sq(move), bonus);
     for (int i = 0; i < quietsCnt; ++i)
     {