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 multi-trajectory bug in TauHybridCSolver #703

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

jtcooper10
Copy link
Collaborator

Because the TauHybridCSolver used the deprecated trajectories array to store output results, only the first trajectory of the simulation is actually written to stdout. Fixed by updating the solver to use the up-to-date output_buffer() methods.

Closes #702

- Removed all references to deprecated `trajectories` array in C++ solver
- Replaced writes to `trajectories` with `output_buffer()` methods to `TauHybridCSolver`
@briandrawert briandrawert added this to the 1.6.8 milestone Feb 7, 2022
@briandrawert briandrawert merged commit 112f215 into develop Feb 10, 2022
@briandrawert briandrawert deleted the fix/cpp-multi-trajectory-bug branch February 10, 2022 21:12
@seanebum seanebum mentioned this pull request Feb 22, 2022
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.

model.run() with multiple trajectories only simulates the 1st trajectory
3 participants