MahjongAI icon indicating copy to clipboard operation
MahjongAI copied to clipboard

good_indices[j] list out of range bug

Open 747929791 opened this issue 4 years ago • 0 comments

https://github.com/erreurt/MahjongAI/blob/123344eb0cbbce565bd5597454c08552eada0777/agents/jianyang_ai.py#L1077

This looks wrong, maybe it should be changed to:

else:
    sorted_indices.append(good_indices[i])
    i += 1

747929791 avatar Jun 11 '20 19:06 747929791