Title: test_bdalg_functions (control.tests.iosys_test.TestIOSys) fails · Issue #389 · python-control/python-control · GitHub
Open Graph Title: test_bdalg_functions (control.tests.iosys_test.TestIOSys) fails · Issue #389 · python-control/python-control
X Title: test_bdalg_functions (control.tests.iosys_test.TestIOSys) fails · Issue #389 · python-control/python-control
Description: This is with: python 3.7 python-control 0.8.3 matplotlib 3.1.3 numpy 1.18.1 scipy 1.4.1 ====================================================================== FAIL: test_bdalg_functions (control.tests.iosys_test.TestIOSys) Test block dia...
Open Graph Description: This is with: python 3.7 python-control 0.8.3 matplotlib 3.1.3 numpy 1.18.1 scipy 1.4.1 ====================================================================== FAIL: test_bdalg_functions (control.te...
X Description: This is with: python 3.7 python-control 0.8.3 matplotlib 3.1.3 numpy 1.18.1 scipy 1.4.1 ====================================================================== FAIL: test_bdalg_functions (control.te...
Opengraph URL: https://github.com/python-control/python-control/issues/389
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_bdalg_functions (control.tests.iosys_test.TestIOSys) fails","articleBody":"This is with:\r\n\r\n - python 3.7\r\n - python-control 0.8.3\r\n - matplotlib 3.1.3\r\n - numpy 1.18.1\r\n - scipy 1.4.1\r\n\r\n```\r\n\r\n======================================================================\r\nFAIL: test_bdalg_functions (control.tests.iosys_test.TestIOSys)\r\nTest block diagram functions algebra on I/O systems\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/build/control-0.8.3/control/tests/iosys_test.py\", line 457, in test_bdalg_functions\r\n np.testing.assert_array_almost_equal(ios_y, lin_y, decimal=3)\r\n File \"/nix/store/dh3b3w7lkcy6p56x0fbv17k0k5winx0y-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/testing/_private/utils.py\", line 1047, in assert_array_almost_equal\r\n precision=decimal)\r\n File \"/nix/store/dh3b3w7lkcy6p56x0fbv17k0k5winx0y-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/testing/_private/utils.py\", line 846, in assert_array_compare\r\n raise AssertionError(msg)\r\nAssertionError:\r\nArrays are not almost equal to 3 decimals\r\n\r\nMismatched elements: 5 / 200 (2.5%)\r\nMax absolute difference: 0.00176677\r\nMax relative difference: 0.33094816\r\n x: array([[ 0.000e+00, 1.055e-01, 2.183e-01, 3.356e-01, 4.551e-01,\r\n 5.746e-01, 6.921e-01, 8.055e-01, 9.131e-01, 1.013e+00,\r\n 1.105e+00, 1.187e+00, 1.257e+00, 1.316e+00, 1.362e+00,...\r\n y: array([[ 0.000e+00, 1.055e-01, 2.183e-01, 3.357e-01, 4.553e-01,\r\n 5.747e-01, 6.920e-01, 8.053e-01, 9.129e-01, 1.013e+00,\r\n 1.105e+00, 1.187e+00, 1.257e+00, 1.316e+00, 1.362e+00,...\r\n\r\n----------------------------------------------------------------------\r\nRan 463 tests in 19.914s\r\n\r\nFAILED (failures=1, errors=2, skipped=118)\r\n```","author":{"url":"https://github.com/flokli","@type":"Person","name":"flokli"},"datePublished":"2020-04-07T14:54:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/389/python-control/issues/389"}
| 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:fc25fc24-1ec7-5e1c-dcc3-3310ec9cfe65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84F8:33D5CD:20B73B:2D5D26:697B3FF2 |
| html-safe-nonce | e00c33d607ea8f413466f088eee1c7d9b6e8cd02a5211b489b179f4f1aa48b84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEY4OjMzRDVDRDoyMEI3M0I6MkQ1RDI2OjY5N0IzRkYyIiwidmlzaXRvcl9pZCI6IjI2MTIwNTEwNzk2MDEzNTY2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aff4ff2665702834e66e32e7ab6e9f182a1b939de64d6c66e56c3b4bbde44c85 |
| hovercard-subject-tag | issue:595930592 |
| 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/389/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b833fa3c86993644447871f44dd3f67691ac67f19835331bfd5309b33d3bbce7/python-control/python-control/issues/389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b833fa3c86993644447871f44dd3f67691ac67f19835331bfd5309b33d3bbce7/python-control/python-control/issues/389 |
| og:image:alt | This is with: python 3.7 python-control 0.8.3 matplotlib 3.1.3 numpy 1.18.1 scipy 1.4.1 ====================================================================== FAIL: test_bdalg_functions (control.te... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flokli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fe64d94889230be19a900846cfc91707e7dd4206878d6c208922b46a6b0735d |
| 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 | 15736a47b83581130a149aa1b928696bea06adde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width