GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — fix _isstatic() to use nstates==0 by murrayrm · Pull Request #790 · python-control/python-control Conversation
Member
This PR fixes the issues identified in PR #785 regarding the way that
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Coverage decreased (-0.002%) to 94.799% when pulling c82605b on murrayrm:fix_isstatic-12Nov2022 into b32e355 on python-control:main. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # Create an input/output system from the linear system | ||
| linsys = tsys.siso_linsys | ||
| iosys = ios.LinearIOSystem(linsys) | ||
| iosys = ios.LinearIOSystem(linsys).copy() |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
is it obvious why this .copy is necessary?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Definitely not obvious, but this gets rid of a warning later on since the interconnect function generates a warning if a system appears more than once in an interconnected system, since then the name of system is not unique. (It's also possible to turn the warning off with warn_dupicate=False).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.