mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
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>
This commit is contained in:
committed by
Marco Costalba
parent
1322ab97c7
commit
a6d13428f6
+1
-1
@@ -363,7 +363,6 @@ void init_search() {
|
|||||||
void SearchStack::init() {
|
void SearchStack::init() {
|
||||||
|
|
||||||
currentMove = threatMove = bestMove = MOVE_NONE;
|
currentMove = threatMove = bestMove = MOVE_NONE;
|
||||||
reduction = Depth(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// SearchStack::initKillers() initializes killers for a search stack entry
|
// SearchStack::initKillers() initializes killers for a search stack entry
|
||||||
@@ -2212,6 +2211,7 @@ namespace {
|
|||||||
{
|
{
|
||||||
ss->excludedMove = MOVE_NONE;
|
ss->excludedMove = MOVE_NONE;
|
||||||
ss->skipNullMove = false;
|
ss->skipNullMove = false;
|
||||||
|
ss->reduction = Depth(0);
|
||||||
|
|
||||||
if (i < 3)
|
if (i < 3)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user