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

Separate simulate from simulate_to_interruption #356

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

SamWitty
Copy link
Collaborator

This small refactoring PR distinguishes between simulate, which is now only a user-facing interface for executing simulations of dynamical systems, from simulate_to_interruption, which is called repeatedly within an InterruptionEventLoop. This reduces the need for specialized messages in the InterruptionEventLoop handler and dramatically simplifies the interaction between StaticBatchObservation and the various operations.

@SamWitty SamWitty requested a review from eb8680 October 20, 2023 18:32
@SamWitty SamWitty self-assigned this Oct 20, 2023
@eb8680 eb8680 merged commit 235d277 into master Oct 20, 2023
4 checks passed
@eb8680 eb8680 deleted the sw-simulate-refactor branch October 20, 2023 20:14
rfl-urbaniak pushed a commit that referenced this pull request Nov 29, 2023
* refactored simulate

* revert accidental change from rebase
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.

2 participants