Skip to content

Commit

Permalink
Syntax fixes (#1)
Browse files Browse the repository at this point in the history
Minor fixes as pointed out by
#1
  • Loading branch information
AlexGisi committed Jul 26, 2024
1 parent 4bdb990 commit 6dc624e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/board/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ void Board::take_move_null() {
/*
* Ref: https://www.chessprogramming.org/Perft#Perft_function
*/
u64 Board::perft(int depth) {
uint64_t Board::perft(int depth) {
if (depth == 0)
return 1ULL;

Expand Down
2 changes: 1 addition & 1 deletion src/io/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void uci_parse_go(Board &board, std::istringstream is, SearchInfo &info) {

info.depth = (depth == -1) ? MAX_DEPTH : static_cast<uint8_t>(depth);

printf("time:%d start:%llu stop:%llu depth:%d timeset:%d",
printf("info string time:%d start:%llu stop:%llu depth:%d timeset:%d",
time,info.start_time,info.stop_time,info.depth,info.time_set);
std::cout << std::endl;

Expand Down

0 comments on commit 6dc624e

Please sign in to comment.