Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove silent failure when computing landmark cost #156

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

kevinddchen
Copy link
Owner

Removing a silent failure when computing the landmark cost in Machi Koro 2. Previously, the number of built landmarks was clamped to a value in [0, 1, 2] before looking into the array, but this may lead to unintended failures (which will be difficult to find). Instead, we will loudly error when something bad happens instead.

@kevinddchen kevinddchen merged commit f16178e into main Nov 28, 2024
1 check passed
@kevinddchen kevinddchen deleted the kchen/loud branch November 28, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant