From 8b2c81d3ea6eae49d5c0b7ffcff1de9eff1cd730 Mon Sep 17 00:00:00 2001 From: pb00068 Date: Thu, 5 Jan 2017 09:00:41 +0100 Subject: [PATCH] Rejoin lines that belong to HalfDensity map (#952) No functional change. --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.2