]> git.sesse.net Git - stockfish/commitdiff
Stockfish 1.5
authorMarco Costalba <mcostalba@gmail.com>
Sun, 4 Oct 2009 06:01:24 +0000 (07:01 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 4 Oct 2009 06:09:12 +0000 (07:09 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/misc.cpp
src/search.cpp

index c692e996f2ce2fa292e287119c4a9699086aacc4..06339d21ec14c24160cbf67e5c5e43873425a605 100644 (file)
@@ -50,7 +50,7 @@ using namespace std;
 /// Version number. If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-static const string EngineVersion = "";
+static const string EngineVersion = "1.5";
 static const string AppName = "Stockfish";
 static const string AppTag  = "";
 
index b513871a2fa2820004ea719ed2dec82c015857cd..1d7abac02587cbaefc04b947be852180b0bde5c8 100644 (file)
@@ -199,7 +199,7 @@ namespace {
   Depth ThreatDepth; // heavy SMP read access
 
   // Last seconds noise filtering (LSN)
-  const bool UseLSNFiltering = true;
+  const bool UseLSNFiltering = false;
   const int LSNTime = 4000; // In milliseconds
   const Value LSNValue = value_from_centipawns(200);
   bool loseOnTime = false;
@@ -489,9 +489,9 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move,
   {
       Value v = id_loop(pos, searchMoves);
       loseOnTime = (   UseLSNFiltering
-                     && myTime < LSNTime
-                     && myIncrement == 0
-                     && v < -LSNValue);
+                    && myTime < LSNTime
+                    && myIncrement == 0
+                    && v < -LSNValue);
   }
   else
   {