Deep CFR slot-aware encoding NaN 수정

This commit is contained in:
2026-05-07 02:32:24 +09:00
parent ece82fc310
commit b5b4f97d41
2 changed files with 16 additions and 0 deletions
@@ -236,6 +236,8 @@ cdef int _append_slot_aware_playability_features_c(GameState state, int player,
for slot in range(state.hand_size):
if slot >= state.hand_lens[player]:
for color in range(SLOT_AWARE_PLAYABILITY_PER_SLOT):
out[idx + color] = 0.0
idx += SLOT_AWARE_PLAYABILITY_PER_SLOT
continue
card = state.hand_cards[state._hand_index(player, slot)]