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

BUG: correct mb03rd for default X=None argument #139

Merged
merged 2 commits into from
Jan 9, 2021

Conversation

roryyorke
Copy link
Collaborator

Added a test for this case.

@repagh I think this is a reasonably simple fix -- do you have time to review it?

@roryyorke
Copy link
Collaborator Author

Failing in the Python 2.7 builds because I used @ in the test; also failing in all conda recipe builds, no sure why.

Here's an import failure in from Ubuntu Bionic / Python 3.8 / AMD64 / conda / OpenBLAS (https://travis-ci.org/github/python-control/Slycot/jobs/752107811):

ImportError: /home/travis/miniconda/conda-bld/slycot_1609325503642/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.8/site-packages/slycot/_wrapper.cpython-38-x86_64-linux-gnu.so: undefined symbol: npy_PyErr_ChainExceptionsCause

I don't think this is caused by this PR, which doesn't change build settings.

@roryyorke roryyorke force-pushed the rory/mb03rd-default-args branch from f8b11d0 to 1cadd32 Compare December 30, 2020 12:33
@roryyorke
Copy link
Collaborator Author

2.7 now passing.

Copy link
Collaborator

@bnavigator bnavigator left a comment

Choose a reason for hiding this comment

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

Some whitespace style review comments (mainly to retrigger Travis)

slycot/math.py Outdated Show resolved Hide resolved
slycot/tests/test_mb.py Outdated Show resolved Hide resolved
slycot/tests/test_mb.py Show resolved Hide resolved
@roryyorke roryyorke merged commit 68e5abc into python-control:master Jan 9, 2021
@roryyorke roryyorke deleted the rory/mb03rd-default-args branch January 9, 2021 05:52
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.

2 participants