mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Perft counts leaf nodes not generated moves.
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -318,8 +318,8 @@ void init_search() {
|
||||
}
|
||||
|
||||
|
||||
/// perft() is our utility to verify move generation. All the legal moves up to
|
||||
/// given depth are generated and counted and the sum returned.
|
||||
/// perft() is our utility to verify move generation. All the leaf nodes up to
|
||||
/// the given depth are generated and counted and the sum returned.
|
||||
|
||||
int64_t perft(Position& pos, Depth depth) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user