projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1322ab9
)
Do not initialize ss->reduction to zero in the beginning of node
author
Joona Kiiski
<joona.kiiski@gmail.com>
Sun, 18 Jul 2010 20:35:57 +0000 (23:35 +0300)
committer
Marco Costalba
<mcostalba@gmail.com>
Mon, 19 Jul 2010 02:48:51 +0000 (
03:48
+0100)
It must already be zero because zeroed in SearchStack initialization
No functional change
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
7249a11
..
0f5e690
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-363,7
+363,6
@@
void init_search() {
void SearchStack::init() {
currentMove = threatMove = bestMove = MOVE_NONE;
- reduction = Depth(0);
}
// SearchStack::initKillers() initializes killers for a search stack entry
@@
-2212,6
+2211,7
@@
namespace {
{
ss->excludedMove = MOVE_NONE;
ss->skipNullMove = false;
+ ss->reduction = Depth(0);
if (i < 3)
{