mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00: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:
+2
-1
@@ -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