Skip to content

Commit

Permalink
fix min_card
Browse files Browse the repository at this point in the history
  • Loading branch information
yffbit committed May 15, 2024
1 parent ab7a22f commit cbbdc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/slice_cfr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ json SliceCFR::reConvertJson(const shared_ptr<GameTreeNode>& node, int depth, in
size_t n_hand = hand_size[player];
int *ptr = hand_card_ptr[player];
for(size_t i = 0; i < n_hand; i++) {
stt[Card::intCard2Str(ptr[i+n_hand])+Card::intCard2Str(ptr[i])] = strategy[i];
stt[Card::intCard2Str(ptr[i+n_hand]+min_card)+Card::intCard2Str(ptr[i]+min_card)] = strategy[i];
}
ans["strategy"]["strategy"] = std::move(stt);

Expand Down

0 comments on commit cbbdc4d

Please sign in to comment.