Skip to content

Commit

Permalink
Rejoin lines that belong to HalfDensity map (#952)
Browse files Browse the repository at this point in the history
No functional change.
  • Loading branch information
pb00068 authored and mcostalba committed Jan 5, 2017
1 parent fe99de2 commit 8b2c81d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Expand Up @@ -153,11 +153,11 @@ namespace {
{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); }

const size_t HalfDensitySize = std::extent<decltype(HalfDensity)>::value;

EasyMoveManager EasyMove;
Value DrawValue[COLOR_NB];

Expand Down

0 comments on commit 8b2c81d

Please sign in to comment.