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

Trajectory.simulate method specification bug #931

Merged
merged 1 commit into from
May 12, 2023

Conversation

andrewellis55
Copy link
Contributor

@andrewellis55 andrewellis55 commented May 11, 2023

Summary

when traj.simulate is called with the method specified as follows, the method parameter was unused and therefor DOP853 was always used regardless of what was passed in as the method parameters. This is a small fix to make sure the selected method is actually used.

traj.simulate(times_per_seg=50, method='RK45')

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@coveralls
Copy link

Coverage Status

Coverage: 92.774% (-0.009%) from 92.783% when pulling b6839d4 on andrewellis55:master into e0e1086 on OpenMDAO:master.

@robfalck robfalck changed the title Trajector.simulate method specification bug Trajectory.simulate method specification bug May 12, 2023
@robfalck robfalck merged commit cd156f8 into OpenMDAO:master May 12, 2023
@robfalck
Copy link
Contributor

Thanks for the fix @andrewellis55

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.

Trajectory.simulate doesn't pass method information to underlying integration.
4 participants