Title: xferfcn_test test_pole_mimo fails on arm and powerpc · Issue #343 · python-control/python-control · GitHub
Open Graph Title: xferfcn_test test_pole_mimo fails on arm and powerpc · Issue #343 · python-control/python-control
X Title: xferfcn_test test_pole_mimo fails on arm and powerpc · Issue #343 · python-control/python-control
Description: As a continuation of my efforts to provide packages of python-control and slycot for OpenSUSE ( see python-control/Slycot#82 and python-control/Slycot#83), python-control now starts to build (because python-slycot is avaialble now) but f...
Open Graph Description: As a continuation of my efforts to provide packages of python-control and slycot for OpenSUSE ( see python-control/Slycot#82 and python-control/Slycot#83), python-control now starts to build (becau...
X Description: As a continuation of my efforts to provide packages of python-control and slycot for OpenSUSE ( see python-control/Slycot#82 and python-control/Slycot#83), python-control now starts to build (becau...
Opengraph URL: https://github.com/python-control/python-control/issues/343
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"xferfcn_test test_pole_mimo fails on arm and powerpc","articleBody":"As a continuation of my efforts to provide packages of python-control and slycot for OpenSUSE ( see python-control/Slycot#82 and python-control/Slycot#83), python-control now starts to build (because python-slycot is avaialble now) but fails on test_pole_mimo in xferfcn_test.py:\r\n\r\n```\r\n[ 269s] ======================================================================\r\n[ 269s] FAIL: Test for correct MIMO poles.\r\n[ 269s] ----------------------------------------------------------------------\r\n[ 269s] Traceback (most recent call last):\r\n[ 269s] File \"/home/abuild/rpmbuild/BUILD/control-0.8.2/control/tests/xferfcn_test.py\", line 415, in test_pole_mimo\r\n[ 269s] np.testing.assert_array_almost_equal(p, [-2., -2., -7., -3., -2.])\r\n[ 269s] File \"/usr/lib64/python2.7/site-packages/numpy/testing/_private/utils.py\", line 1017, in assert_array_almost_equal\r\n[ 269s] precision=decimal)\r\n[ 269s] File \"/usr/lib64/python2.7/site-packages/numpy/testing/_private/utils.py\", line 754, in assert_array_compare\r\n[ 269s] raise AssertionError(msg)\r\n[ 269s] AssertionError: \r\n[ 269s] Arrays are not almost equal to 6 decimals\r\n[ 269s] \r\n[ 269s] (shapes (6,), (5,) mismatch)\r\n[ 269s] x: array([-1.999985+0.000000e+00j, -2.000007+1.271532e-05j,\r\n[ 269s] -2.000007-1.271532e-05j, -7. +0.000000e+00j,\r\n[ 269s] -3. +0.000000e+00j, -2. +0.000000e+00j])\r\n[ 269s] y: array([-2., -2., -7., -3., -2.])\r\n```\r\n\r\n`_common_den()` strikes again (#194, #206). I see it has the optional argument `imag_tol`, but it is never used within the function except where it is set to 1e-8 by default.\r\n\r\nAny ideas how to fix this? Is the resulting machine precision on theses arches really worse than the x86 build, where this tests fine? Or is there maybe a problem with the slycot / lapack / (open)blas / numpy environment on those build machines?","author":{"url":"https://github.com/bnavigator","@type":"Person","name":"bnavigator"},"datePublished":"2019-11-09T13:25:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/343/python-control/issues/343"}
| 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:cad9cc83-6220-8983-44c3-d83ab311997c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC1E:3DF548:25A04F3:325291D:697ABF51 |
| html-safe-nonce | e910a5e20e1d2232b04f1b8348238014b5f175ab3db5f7c6ed8afbcb005307a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzFFOjNERjU0ODoyNUEwNEYzOjMyNTI5MUQ6Njk3QUJGNTEiLCJ2aXNpdG9yX2lkIjoiOTQ4NzA4MjE1MzE3MjQ5ODczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 87f8c98c816cd938ddc009fd9201c830e719dd6aafe5e28357dbc84ce6687980 |
| hovercard-subject-tag | issue:520425487 |
| 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/343/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55a6ebd193d836dd5c69621c3f6c6251c6f77eb747ad7808fa3640817f3d38be/python-control/python-control/issues/343 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55a6ebd193d836dd5c69621c3f6c6251c6f77eb747ad7808fa3640817f3d38be/python-control/python-control/issues/343 |
| og:image:alt | As a continuation of my efforts to provide packages of python-control and slycot for OpenSUSE ( see python-control/Slycot#82 and python-control/Slycot#83), python-control now starts to build (becau... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bnavigator |
| hostname | github.com |
| expected-hostname | github.com |
| None | 37b00135a01848812420158e49744eb9715c1ef534ee4552f790d6ef33807fc2 |
| 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 | 78685bd12c01954e3a0e08fc52173e9b3e48215d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width