]> git.sesse.net Git - stockfish/commitdiff
Rejoin lines that belong to HalfDensity map (#952)
authorpb00068 <guenther.demetz@wuerth-phoenix.com>
Thu, 5 Jan 2017 08:00:41 +0000 (09:00 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Thu, 5 Jan 2017 08:00:41 +0000 (09:00 +0100)
No functional change.

src/search.cpp

index a46c44627d4b1677b1f4a0a11f13825d24e0e746..4f4092ffe2bcae830f54ba84fc62c42ede9ab094 100644 (file)
@@ -153,11 +153,11 @@ namespace {
     {1, 0, 0, 0, 0, 1, 1 ,1},
   };
 
     {1, 0, 0, 0, 0, 1, 1 ,1},
   };
 
+  const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::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); }
 
   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<decltype(HalfDensity)>::value;
-
   EasyMoveManager EasyMove;
   Value DrawValue[COLOR_NB];
 
   EasyMoveManager EasyMove;
   Value DrawValue[COLOR_NB];