Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update np.float to float to fix NumPy 1.20 deprecation warnings#548

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

Merged

Conversation

murrayrm
Copy link
Member

@murrayrmmurrayrm commentedFeb 20, 2021
edited
Loading

Fixes the following warning (and others like it):

  /Users/murray/Dropbox/macosx/src/python-control/murrayrm/control/tests/timeresp_test.py:411: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.  Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

@coveralls
Copy link

coveralls commentedFeb 20, 2021
edited
Loading

Coverage Status

Coverage remained the same at 88.79% when pullingf35331b on murrayrm:scipy_1_20_deprecations into4788f6b on python-control:master.

@murrayrmmurrayrm changed the titleupdate np.float to float to fix SciPy 1.20 deprecation warningsupdate np.float to float to fix NumPy 1.20 deprecation warningsFeb 20, 2021
@murrayrmmurrayrm merged commit8cba949 intopython-control:masterFeb 25, 2021
@murrayrmmurrayrm deleted the scipy_1_20_deprecations branchFebruary 25, 2021 00:52
@murrayrmmurrayrm added this to the0.9.0 milestoneMar 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sawyerbfullersawyerbfullersawyerbfuller approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.0
Development

Successfully merging this pull request may close these issues.

3 participants
@murrayrm@coveralls@sawyerbfuller

[8]ページ先頭

©2009-2025 Movatter.jp