-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary of changes Bug fix. In very particular circumstances a vector is accessed out of bounds. When two runs are present in the run cache, and complete at the same time the `flush` method will likely try to access the `run_cache` deque out of bounds. This bug was missed due to non-idiomatic code being used. It has been replaced and a suitable test added to check this (albeit unlikely) use case. ## Instruction for review/testing General code review. Tested on simulated data.
- Loading branch information
1 parent
e3aa0b5
commit 5367255
Showing
1 changed file
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters