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

Hotfix v1.5.1 #238

Merged
merged 8 commits into from Aug 18, 2023
Merged

Hotfix v1.5.1 #238

merged 8 commits into from Aug 18, 2023

Conversation

teubert
Copy link
Collaborator

@teubert teubert commented Jul 31, 2023

Fixes an issue with horizon.

When 1. a user sets a horizon, 2. one event occurs before the horizon, and 3. the horizon is hit before the second event - then horizon will not work properly

Root cause is a change in prog_models where horizon is now relative to t0. t0 is used to simulate subsequent events (continuing from where the last one stopped).

Solution is to reduce horizon by t0 when continuing simulation

@teubert teubert requested review from aqitya and kjjarvis July 31, 2023 21:31
@teubert teubert added the bug Something isn't working label Jul 31, 2023
@aqitya
Copy link
Contributor

aqitya commented Jul 31, 2023

To make sure, this change is needed precisely because of our Monte Carlo works. In other words, changes in the other predictors do not need to be changed.

@kjjarvis
Copy link
Contributor

Approved for release. Tests run locally on my machine and all code has been reviewed.

fixing bug: array and keys did not match in particle_filter
@teubert teubert merged commit adbcc5e into master Aug 18, 2023
0 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants