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
6 changes: 6 additions & 0 deletions Renegade/Transpositions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ void Transpositions::AllocateTable(const uint64_t clusterCount) {
#endif
#endif

// Check if successful
if (Table == nullptr) {
cout << "Error: failed to allocate memory for the transposition table" << endl;
std::terminate();
}

// Set cluster count
TableSize = clusterCount;
}
Expand Down
2 changes: 1 addition & 1 deletion Renegade/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ using std::cout;
using std::endl;
using Clock = std::chrono::high_resolution_clock;

constexpr std::string_view Version = "dev 1.2.64";
constexpr std::string_view Version = "dev 1.2.65";

// Evaluation helpers -----------------------------------------------------------------------------

Expand Down