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: make apply_condition work for 2D numpy arrays also #78

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

olelod
Copy link
Contributor

@olelod olelod commented Jun 13, 2023

apply_condition does not work for multiple streams. If condition(s) are not met, rates for all streams at a time step should be set to 0. This PR fixes that.

@olelod olelod marked this pull request as ready for review June 13, 2023 18:37
@olelod olelod requested a review from a team as a code owner June 13, 2023 18:37
Copy link
Contributor

@jorgenengelsen jorgenengelsen left a comment

Choose a reason for hiding this comment

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

Det enkle er ofte det beste? 😄

@olelod olelod merged commit bce91cb into main Jun 14, 2023
@olelod olelod deleted the fix-apply-condition branch June 14, 2023 07:11
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.

2 participants