Title: Freqplot improvements introduced warning messages in tests · Issue #538 · python-control/python-control · GitHub
Open Graph Title: Freqplot improvements introduced warning messages in tests · Issue #538 · python-control/python-control
X Title: Freqplot improvements introduced warning messages in tests · Issue #538 · python-control/python-control
Description: It looks like PR #522 introduced some warning messages in our GitHub Action tests: control/tests/freqresp_test.py::test_discrete[tf-0.1] control/tests/freqresp_test.py::test_discrete[tf-0.1] control/tests/freqresp_test.py::test_discrete[...
Open Graph Description: It looks like PR #522 introduced some warning messages in our GitHub Action tests: control/tests/freqresp_test.py::test_discrete[tf-0.1] control/tests/freqresp_test.py::test_discrete[tf-0.1] contro...
X Description: It looks like PR #522 introduced some warning messages in our GitHub Action tests: control/tests/freqresp_test.py::test_discrete[tf-0.1] control/tests/freqresp_test.py::test_discrete[tf-0.1] contro...
Opengraph URL: https://github.com/python-control/python-control/issues/538
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Freqplot improvements introduced warning messages in tests","articleBody":"It looks like PR #522 introduced some warning messages in our GitHub Action tests:\r\n```\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-0.1]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-0.1]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-True]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-True]\r\n /home/runner/work/python-control/python-control/control/xferfcn.py:310: RuntimeWarning: divide by zero encountered in true_divide\r\n out[i][j] = (polyval(self.num[i][j], x) /\r\n\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-0.1]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-0.1]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-True]\r\ncontrol/tests/freqresp_test.py::test_discrete[tf-True]\r\n /home/runner/work/python-control/python-control/control/xferfcn.py:310: RuntimeWarning: invalid value encountered in true_divide\r\n out[i][j] = (polyval(self.num[i][j], x) /\r\n```\r\nI'm not quite sure what is generating the warnings, but it would be good to get rid of them if we can.\r\n\r\nTest results here: https://github.com/python-control/python-control/pull/522/checks\r\n\r\n@sawyerbfuller Any ideas?","author":{"url":"https://github.com/murrayrm","@type":"Person","name":"murrayrm"},"datePublished":"2021-02-08T05:36:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/538/python-control/issues/538"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:88b627f2-203e-d54d-32e8-9d48c4146236 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E42A:2846F6:16B577D:1EE4319:697A9415 |
| html-safe-nonce | 72e2be34bd8ca468ec87c5c3536f721ce201fee8c021fc57c789ab0a6fa09a04 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDJBOjI4NDZGNjoxNkI1NzdEOjFFRTQzMTk6Njk3QTk0MTUiLCJ2aXNpdG9yX2lkIjoiMzg4MTA2NTg2MDcwOTM4OTMzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b5c22b516335ad1ad82976917f806a6cbc78ede5bbc1b08a9cf195c284203a16 |
| hovercard-subject-tag | issue:803206323 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-control/python-control/538/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98acba0250b77b056536ae0d5e2d14b4a6f6abe108d46be5ab4882b39991887f/python-control/python-control/issues/538 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98acba0250b77b056536ae0d5e2d14b4a6f6abe108d46be5ab4882b39991887f/python-control/python-control/issues/538 |
| og:image:alt | It looks like PR #522 introduced some warning messages in our GitHub Action tests: control/tests/freqresp_test.py::test_discrete[tf-0.1] control/tests/freqresp_test.py::test_discrete[tf-0.1] contro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | murrayrm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0912f2a9aa0160e08239520d461a4b4c4ce1caa972a8370b7442b94a38a194c5 |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8f5270c10a913bfa56f2dad4b864f1cda383754 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width