projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe99de2
)
Rejoin lines that belong to HalfDensity map (#952)
author
pb00068
<guenther.demetz@wuerth-phoenix.com>
Thu, 5 Jan 2017 08:00:41 +0000
(09:00 +0100)
committer
Marco Costalba
<mcostalba@users.noreply.github.com>
Thu, 5 Jan 2017 08:00:41 +0000
(09:00 +0100)
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index a46c44627d4b1677b1f4a0a11f13825d24e0e746..4f4092ffe2bcae830f54ba84fc62c42ede9ab094 100644
(file)
--- 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<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];