From: pb00068 Date: Thu, 5 Jan 2017 08:00:41 +0000 (+0100) Subject: Rejoin lines that belong to HalfDensity map (#952) X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=8b2c81d3ea6eae49d5c0b7ffcff1de9eff1cd730 Rejoin lines that belong to HalfDensity map (#952) No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index a46c4462..4f4092ff 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -153,11 +153,11 @@ namespace { {1, 0, 0, 0, 0, 1, 1 ,1}, }; + const size_t HalfDensitySize = std::extent::value; + Value bonus(Depth depth) { int d = depth / ONE_PLY ; return Value(d * d + 2 * d - 2); } Value penalty(Depth depth) { int d = depth / ONE_PLY ; return -Value(d * d + 4 * d + 1); } - const size_t HalfDensitySize = std::extent::value; - EasyMoveManager EasyMove; Value DrawValue[COLOR_NB];