X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=23ca74469eccf1c2ccf5155936623e701fc3c3d4;hb=3c3b129e7b22a048e59ddd60969fedeb98d9e605;hp=edc4a71a0766c79f14b092a1367cd3759a6b907a;hpb=b839ea6c0c279e5246f586c716702a4ab7152e04;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index edc4a71a..23ca7446 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -364,8 +364,8 @@ void init_search() { } -// SearchStack::init() initializes a search stack. Used at the beginning of a -// new search from the root. +// SearchStack::init() initializes a search stack entry. +// Called at the beginning of search() when starting to examine a new node. void SearchStack::init() { pv[0] = pv[1] = MOVE_NONE; @@ -374,6 +374,7 @@ void SearchStack::init() { eval = VALUE_NONE; } +// SearchStack::initKillers() initializes killers for a search stack entry void SearchStack::initKillers() { mateKiller = MOVE_NONE;