mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +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
|
// SearchStack::init() initializes a search stack entry.
|
||||||
// new search from the root.
|
// Called at the beginning of search() when starting to examine a new node.
|
||||||
void SearchStack::init() {
|
void SearchStack::init() {
|
||||||
|
|
||||||
pv[0] = pv[1] = MOVE_NONE;
|
pv[0] = pv[1] = MOVE_NONE;
|
||||||
@@ -374,6 +374,7 @@ void SearchStack::init() {
|
|||||||
eval = VALUE_NONE;
|
eval = VALUE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SearchStack::initKillers() initializes killers for a search stack entry
|
||||||
void SearchStack::initKillers() {
|
void SearchStack::initKillers() {
|
||||||
|
|
||||||
mateKiller = MOVE_NONE;
|
mateKiller = MOVE_NONE;
|
||||||
|
|||||||
Reference in New Issue
Block a user