Skip to content

Commit

Permalink
Fixed const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgowan committed Mar 8, 2024
1 parent 5e02ea0 commit 4cd3016
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ bool NextColex(std::vector<int>& v, int k) {
}

char IncrementalAlphaBetaMemoryIso(
Node* node, char alpha, char beta, int depth, vectorNa* TTable,
std::unordered_map<uint32_t, uint32_t>* SuitRanks,
Node* node, char alpha, char beta, int depth, const vectorNa* TTable,
const std::unordered_map<uint32_t, uint32_t>* SuitRanks,
const std::vector<std::vector<uint32_t>>& bin_coeffs) {
// fail soft ab search
char val = 0;
Expand Down Expand Up @@ -536,7 +536,7 @@ std::vector<Node> GWhistGenerator(int num, unsigned int seed) {
return out;
}

void ThreadSolver(int size_endgames, vectorNa* outTTable, vectorNa* TTable,
void ThreadSolver(int size_endgames, vectorNa* outTTable, const vectorNa* TTable,
const std::vector<std::vector<uint32_t>>& bin_coeffs,
const std::vector<uint32_t>& suit_splits,
const std::unordered_map<uint32_t, uint32_t>& SuitRanks,
Expand Down

0 comments on commit 4cd3016

Please sign in to comment.