mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Perft should return an int64_t not an int
Found by Louis Zulli with his super fast hardware: 65M nodes/sec at perft ! No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -287,7 +287,8 @@ namespace {
|
||||
|
||||
void perft(Position& pos, UCIParser& up) {
|
||||
|
||||
int depth, tm, n;
|
||||
int depth, tm;
|
||||
int64_t n;
|
||||
|
||||
if (!(up >> depth))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user