bugfix: GetPinningRay jumped through the board

This commit is contained in:
rektdie committed 2024-04-11 12:17:10 +02:00
1 parent 054129b67b
commit ae581e0f03
3 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -55,5 +55,5 @@ void Perft(Board &board, int depth) {
std::cout << "\nDepth: " << depth << '\n';
std::cout << "Total nodes: " << totalNodes << '\n';
std::cout << "Time took: " << elapsed_seconds << "s (";
std::cout << int(totalNodes / elapsed_seconds * 1000) << " nodes/sec)\n";
std::cout << int(totalNodes / elapsed_seconds) << " nodes/sec)\n";
}