- Notifications
You must be signed in to change notification settings - Fork441
Allow unit tests to run without slycot#122
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
coveralls commentedDec 26, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Changes Unknown when pullingcab850a on murrayrm:noslycot into ** on python-control:master**. |
coveralls commentedDec 26, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Changes Unknown when pullingc90a399 on murrayrm:noslycot into ** on python-control:master**. |
# Set up a transfer function (should always work) | ||
tfcn = control.tf([[[-235, 1.146e4], | ||
[-235, 1.146E4], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Indentation here and on the next 4 lines seems to be slightly off. I recommend
tfcn=control.tf([[[-235,1.146e4], [-235,1.146E4], [-235,1.146E4,0]]], [[[1,48.78,0], [1,48.78,0,0], [0.008,1.39,48.78]]])
coveralls commentedDec 31, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Changes Unknown when pulling7de3cc8 on murrayrm:noslycot into ** on python-control:master**. |
For future work, I think that it would be useful to either:
|
This PR provides updates to allow unit tests to run correctly when
slycot
is not installed. There is also a change inxferfcn.py
to allow proper creation of transfer functions when num or den is a 0d ndarray. This can occur whenslycot
is not installed due to a difference in the way that transfer functions are created from state space matrices inxferfcn._convertToTransferFunction()
whenslycot
is not available.