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

fix invalid variable usages from wrapper outputs #79

Merged
merged 13 commits into from
Apr 10, 2020

Conversation

bnavigator
Copy link
Collaborator

Some functions tried to use variables which were never defined.

Copy link
Collaborator

@roryyorke roryyorke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this clean-up. I guess many of those paths (waring and the missing _np) are not exercised in the tests, or by our users.

slycot/transform.py Outdated Show resolved Hide resolved
slycot/math.py Outdated Show resolved Hide resolved
@bnavigator
Copy link
Collaborator Author

bnavigator commented Aug 10, 2019

Sorry, with the added unit tests and some fixes in the periphery concerning the tests directory this turned out to be a bigger PR than initially thought. Should I go ahead and include the cleanup of the other test scripts, too or split this into a different PR?

Copy link
Collaborator

@roryyorke roryyorke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks for adding those tests.

I'd like to give @repagh a chance to comment on the API change.

As far as I'm concerned we can merge this, but I doubt I'll be able to get back to Slycot until next weekend at the earliest.

slycot/math.py Show resolved Hide resolved
slycot/tests/test_mb.py Outdated Show resolved Hide resolved
@roryyorke roryyorke merged commit 139b718 into python-control:master Apr 10, 2020
@bnavigator bnavigator deleted the fix-unused-vars branch December 31, 2020 13:31
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.

None yet

3 participants