mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix some wrong documentation
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
918533dc06
commit
3c3b129e7b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user