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

Fix crash in Transitions.occupancy if input sites are disordered #342

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

stefsmeets
Copy link
Contributor

@stefsmeets stefsmeets commented Nov 18, 2024

This PR adds a work-around when Transitions.occupancy is called, but the input sites are disordered. Disordered jump sites technically do not make sense, but the code only works with the coordinates anyway.

Closes #339

@AstyLavrinenko
Copy link
Contributor

Hi @stefsmeets
I just commented on the issue, but we also can have a quick call if more details are needed. Please let me know

@stefsmeets stefsmeets merged commit 34a0cc0 into main Nov 18, 2024
4 checks passed
@stefsmeets stefsmeets deleted the fix-disorder-occupancy branch November 18, 2024 15:51
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.

Problem with occupancy function
2 participants