Title: Update xferfcn.py - numpy deprecations. by dapperfu · Pull Request #539 · python-control/python-control · GitHub
Open Graph Title: Update xferfcn.py - numpy deprecations. by dapperfu · Pull Request #539 · python-control/python-control
X Title: Update xferfcn.py - numpy deprecations. by dapperfu · Pull Request #539 · python-control/python-control
Description: DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information. https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Changed the logic to check for an instance of both 32 & 64-bit ints. The np.int is covered by the builtin int: >>> isinstance(np.int(1), (int, np.int32, np.int64)) True >>> isinstance(int(1), (int, np.int32, np.int64)) True
Open Graph Description: DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may...
X Description: DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may...
Opengraph URL: https://github.com/python-control/python-control/pull/539
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:618ed8f7-ae16-913f-8ecc-31415d0aad28 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A4D4:1EC1C6:1EE401C:2996408:6979941F |
| html-safe-nonce | 85f158f1a1ad53311b6d5c6f3a9aaae40e49c9e40f2591397a758f00bac0b8cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEQ0OjFFQzFDNjoxRUU0MDFDOjI5OTY0MDg6Njk3OTk0MUYiLCJ2aXNpdG9yX2lkIjoiMzUzMjg2NjkwNDkwMjk2NDI1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0d9823cc1c0c88a8466d49afce8df963bde5d3e02e4ef0d72e1e36b8e51c30d2 |
| hovercard-subject-tag | pull_request:569619605 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/539/files |
| twitter:image | https://avatars.githubusercontent.com/u/223258?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/223258?s=400&v=4 |
| og:image:alt | DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87b137883e35e2766c3d0f6a257c4044f6390b83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width