GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix control.matlab.lsim bug for discrete time system by murrayrm · Pull Request #765 · python-control/python-control

Conversation

@murrayrm

@murrayrm murrayrm commented Aug 25, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This PR fixes issue #764. There was a dimension check in forced_response for discrete time systems that occurred before processing of the transpose parameter. Removing the dimension check (which gets done later, after transpose processing) fixes the bug. Add a unit test to catch the error and also turned on some tests that were @slycotonly but that didn't rely on slycot.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
murrayrm added 2 commits August 24, 2022 21:09
@murrayrm
remove slycotonly from selected MIMO tests
4c954d2
@murrayrm
remove bad dimension check in forced_response for dtime systems
6e3113a
@murrayrm murrayrm linked an issue Aug 25, 2022 that may be closed by this pull request
control.matlab.lsim does not work for systems of order > 1 #764
Closed
@coveralls

coveralls commented Aug 25, 2022

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.001%) to 94.737% when pulling 6e3113a on murrayrm:matlab.lsim-24Aug2022 into d4c1f14 on python-control:main.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnavigator

bnavigator commented Aug 25, 2022

Copy link
Copy Markdown
Contributor

LGTM, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnavigator
bnavigator merged commit 59aeceb into python-control:main Aug 25, 2022
@bnavigator bnavigator mentioned this pull request Aug 25, 2022
control.matlab.lsim does not work for systems of order > 1 #764
Closed
@murrayrm murrayrm added this to the 0.9.3 milestone Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

0.9.3

Development

Successfully merging this pull request may close these issues.

control.matlab.lsim does not work for systems of order > 1

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@murrayrm @coveralls @bnavigator
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.