Title: testMimoW123 fails when compiled from source · Issue #190 · python-control/python-control · GitHub
Open Graph Title: testMimoW123 fails when compiled from source · Issue #190 · python-control/python-control
X Title: testMimoW123 fails when compiled from source · Issue #190 · python-control/python-control
Description: Hi, I've installed Slycot and python-control from source and have run the provided test script: python setup.py test I get one failed test: ====================================================================== FAIL: testMimoW123 (contro...
Open Graph Description: Hi, I've installed Slycot and python-control from source and have run the provided test script: python setup.py test I get one failed test: =========================================================...
X Description: Hi, I've installed Slycot and python-control from source and have run the provided test script: python setup.py test I get one failed test: =====================================================...
Opengraph URL: https://github.com/python-control/python-control/issues/190
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"testMimoW123 fails when compiled from source","articleBody":"Hi,\r\n\r\nI've installed Slycot and python-control from source and have run the provided test script:\r\n`python setup.py test`\r\nI get one failed test:\r\n```\r\n======================================================================\r\nFAIL: testMimoW123 (control.tests.robust_test.TestAugw)\r\nMIMO plant with all weights\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/home/akum036/lib/python-control/control/tests/robust_test.py\", line 303, in testMimoW123\r\n self.siso_almost_equal(w3g[0,0], p[4,2])\r\n File \"/home/akum036/lib/python-control/control/tests/robust_test.py\", line 59, in siso_almost_equal\r\n raise AssertionError('systems not approx equal; max num. coeff is {}\\nsys 1:\\n{}\\nsys 2:\\n{}'.format(maxnum,g,h))\r\nAssertionError: systems not approx equal; max num. coeff is 5.244462877690618e-08\r\nsys 1:\r\nA = [[-1. -2. 0. 0.]\r\n [-3. -4. 0. 0.]\r\n [ 2. 3. -4. -5.]\r\n [ 5. 7. -6. -7.]]\r\n\r\nB = [[1.]\r\n [0.]\r\n [2.]\r\n [5.]]\r\n\r\nC = [[23. 29. 11. 13.]]\r\n\r\nD = [[23.]]\r\n\r\nsys 2:\r\nA = [[-2. 0. 0. 0. 0. 0. -2. 0.]\r\n [ 0. -2. 0. 0. 0. 0. 0. -2.]\r\n [ 0. 0. -3. 0. 0. 0. 0. 0.]\r\n [ 0. 0. 0. -4. 0. 0. 0. 0.]\r\n [ 0. 0. 0. 0. -4. -5. 2. 3.]\r\n [ 0. 0. 0. 0. -6. -7. 5. 7.]\r\n [ 0. 0. 0. 0. 0. 0. -1. -2.]\r\n [ 0. 0. 0. 0. 0. 0. -3. -4.]]\r\n\r\nB = [[-2.]\r\n [ 0.]\r\n [ 3.]\r\n [ 0.]\r\n [ 2.]\r\n [ 5.]\r\n [ 1.]\r\n [ 0.]]\r\n\r\nC = [[ 0. 0. 0. 0. 11. 13. 23. 29.]]\r\n\r\nD = [[23.]]\r\n```\r\n\r\nThe difference is fairly small (~5e-8)between the two systems, but exceeds the testing threshold (1e-8). Would anyone have ideas as to why this test is now failing, assuming it used to pass in earlier releases?\r\n\r\nThanks,\r\n\r\nAvi","author":{"url":"https://github.com/akum036","@type":"Person","name":"akum036"},"datePublished":"2018-01-31T10:56:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/190/python-control/issues/190"}
| 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:596df56a-850c-fe28-de04-9098d293d51c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9964:2C299E:4A81CE:643AD4:697B08B2 |
| html-safe-nonce | a34dc4a50327aa9da8929340fe284396df515042f224d2986cba5e13eb441490 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTY0OjJDMjk5RTo0QTgxQ0U6NjQzQUQ0OjY5N0IwOEIyIiwidmlzaXRvcl9pZCI6IjI4MzMzODk4MDY2ODE3ODY1NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0898c6260c82573ef2f615158a0119129cbb016f40b4b21330807f12dddc8f46 |
| hovercard-subject-tag | issue:293114571 |
| 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/190/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37492db1112a3232b01377e570e0993a8d60be19bd7b5a2c0b748593e6178dee/python-control/python-control/issues/190 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37492db1112a3232b01377e570e0993a8d60be19bd7b5a2c0b748593e6178dee/python-control/python-control/issues/190 |
| og:image:alt | Hi, I've installed Slycot and python-control from source and have run the provided test script: python setup.py test I get one failed test: =========================================================... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | akum036 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8 |
| 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 | d7bfc78137af9a4828305e52ab993fce981d7085 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width