mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +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:
parent
1322ab97c7
commit
a6d13428f6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue