From aaa07fb161c6287aafe8c5532335d4034c816f5e Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 4 Oct 2009 07:01:24 +0100 Subject: [PATCH] Stockfish 1.5 Signed-off-by: Marco Costalba --- src/misc.cpp | 2 +- src/search.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/misc.cpp b/src/misc.cpp index c692e996..06339d21 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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 = ""; diff --git a/src/search.cpp b/src/search.cpp index b513871a..1d7abac0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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 { -- 2.39.2