From: Joona Kiiski Date: Sat, 26 Jun 2010 08:12:32 +0000 (+0300) Subject: Fix some wrong documentation X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3c3b129e7b22a048e59ddd60969fedeb98d9e605 Fix some wrong documentation Signed-off-by: Marco Costalba --- 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;