Skip to content

deprecate np.matrix usage #486

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

Merged
merged 2 commits into from
Dec 30, 2020

Conversation

bnavigator
Copy link
Contributor

As previously discussed and announced: 0.9 deprecates np.matrix usage

@coveralls
Copy link

Coverage Status

Coverage decreased (-10.01%) to 76.606% when pulling f9d4a9c on bnavigator:deprecate-matrix into 51c797e on python-control:master.

@coveralls
Copy link

coveralls commented Dec 30, 2020

Coverage Status

Coverage remained the same at 87.04% when pulling 1565097 on bnavigator:deprecate-matrix into c432fd5 on python-control:master.

@bnavigator
Copy link
Contributor Author

#438 will handle the CI fail: The warning category changed.

@roryyorke
Copy link
Contributor

Assume it's OK to change tests to use np.array instead of np.matrix then? This caught me out while debugging a test failure in canonical_test.py today.

@murrayrm
Copy link
Member

You might want to have a look at #438 and wait until that is merged before making changes to tests (they are undergoing significant refactoring).

We are waiting on CI tests to run, but merges should happen today.

@murrayrm murrayrm merged commit ec42737 into python-control:master Dec 30, 2020
@bnavigator
Copy link
Contributor Author

Now that #438 is merged, this passes. But with removing the filter as discussed #438 (comment) it seems that the actual new default is not set properly during the test suite run.

@bnavigator bnavigator deleted the deprecate-matrix branch January 5, 2021 20:18
@murrayrm murrayrm added this to the 0.9.0 milestone Mar 20, 2021
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