Skip to content

fix discrete time simulation time step issue #332 #356

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

Merged
merged 1 commit into from
Jan 2, 2020

Conversation

murrayrm
Copy link
Member

This PR fixes the problem with discrete time simulations identified in issue #332, along with adding unit tests to verify the fix.

Also found and fixed a small bug where the timebase variable dt could get overwritten if it was set to True (discrete time, without specific sampling time) and you ran a simulation that provided a sampling time via the time vector (oops).

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 81.678% when pulling 2359bed on murrayrm:fix_timeresp_dtime_tvec into 72262c6 on python-control:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 81.678% when pulling 2359bed on murrayrm:fix_timeresp_dtime_tvec into 72262c6 on python-control:master.

@murrayrm murrayrm added this to the 0.8.3 milestone Dec 31, 2019
@murrayrm murrayrm merged commit ccbd7ac into python-control:master Jan 2, 2020
@murrayrm murrayrm deleted the fix_timeresp_dtime_tvec branch January 2, 2020 17:46
repagh pushed a commit to repagh/python-control that referenced this pull request Jun 9, 2020
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.

2 participants