Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace cli

if (depth >= 0)
{
this->perft(depth, board);
this->dperft(depth, board);
}
else
{
Expand All @@ -71,7 +71,7 @@ namespace cli
}

private:
void perft(int depth, Board &board)
void dperft(int depth, Board &board)
{
unsigned long long total_nodes = 0;
std::chrono::time_point<std::chrono::system_clock> start = std::chrono::system_clock::now();
Expand Down
1 change: 1 addition & 0 deletions src/engine/board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ U64 Board::getPieces(int color, int type) const
{
return _pieces[color][type];
}

U64 Board::getOccupancies(int color) const
{
return _occupancies[color];
Expand Down
Loading