1
0
Fork 0

Do not initialize ss->reduction to zero in the beginning of node

It must already be zero because zeroed in SearchStack initialization

No functional change

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
sf_2.3.1_base
Joona Kiiski 2010-07-18 23:35:57 +03:00 committed by Marco Costalba
parent 1322ab97c7
commit a6d13428f6
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{