Skip to content

SISO tf() may not work with numpy arrays with numpy.int elements. #158

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

Closed

Conversation

kangwonlee
Copy link

SISO tf() function may not work if an input argument is numpy.int.
(@sunhapos could identify this)

Please check the test for cases.

Should this be a numpy issue? If so, is a quick patch such as 3fe4067 desirable?

Thanks,

KW

@kangwonlee
Copy link
Author

Does this discussion seem related? numpy/numpy#2951

@coveralls
Copy link

coveralls commented Oct 22, 2017

Coverage Status

Coverage increased (+0.6%) to 78.327% when pulling 70092cf on autodrive:feature/test_int_tf into 05d6bc5 on python-control:master.

@roryyorke
Copy link
Contributor

Have you looked at PR #135 ? I see @jed-frey handles all sorts of types in the proposed _cleanup function here

@kangwonlee
Copy link
Author

@roryyorke Thanks for your comments. @jed-frey Hope this helps. Also found this QnA.

@murrayrm
Copy link
Member

murrayrm commented Dec 27, 2017

Different parts of this PR are covered by other PR's:

There is some unit test code there that it would be good to merge. I will try to take care of that in the coming days.

@murrayrm murrayrm self-assigned this Dec 27, 2017
@murrayrm murrayrm added this to the 0.8.0 milestone Dec 27, 2017
@murrayrm
Copy link
Member

The changes in this PR have been incorporated into PR #135.

@murrayrm murrayrm closed this Dec 29, 2017
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.

4 participants