Skip to content

fix: Ignore chiitoitsu and kokushi when melds exist in shanten calculation#268

Merged
Nihisil merged 3 commits intomasterfrom
fix/shanten
Apr 1, 2026
Merged

fix: Ignore chiitoitsu and kokushi when melds exist in shanten calculation#268
Nihisil merged 3 commits intomasterfrom
fix/shanten

Conversation

@Apricot-S
Copy link
Copy Markdown
Collaborator

Closes #267

@Apricot-S Apricot-S added this to the v2.0.0 milestone Apr 1, 2026
@Apricot-S Apricot-S requested a review from Nihisil as a code owner April 1, 2026 13:54
@Apricot-S Apricot-S added the bug label Apr 1, 2026
@Apricot-S Apricot-S self-assigned this Apr 1, 2026
Copy link
Copy Markdown
Contributor

@Nihisil Nihisil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is a good catch, thank you

@Nihisil Nihisil merged commit a7b7192 into master Apr 1, 2026
11 checks passed
@Nihisil Nihisil deleted the fix/shanten branch April 1, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shanten.calculate_shanten returns incorrect value when melds exist and use_kokushi=True

2 participants