Title: ndarray broken for linux aarch64 · Issue #97 · ndarray/ndarray · GitHub
Open Graph Title: ndarray broken for linux aarch64 · Issue #97 · ndarray/ndarray
X Title: ndarray broken for linux aarch64 · Issue #97 · ndarray/ndarray
Description: The unit ndarray-eigen unit test fails when compiling for linux aarch64 with gcc (gcc9 from Ubuntu 20.04 or conda build environment) This patch fixes the problem. The intermediate m1+m2 assigned to an ndarray yields some slightly differe...
Open Graph Description: The unit ndarray-eigen unit test fails when compiling for linux aarch64 with gcc (gcc9 from Ubuntu 20.04 or conda build environment) This patch fixes the problem. The intermediate m1+m2 assigned to...
X Description: The unit ndarray-eigen unit test fails when compiling for linux aarch64 with gcc (gcc9 from Ubuntu 20.04 or conda build environment) This patch fixes the problem. The intermediate m1+m2 assigned to...
Opengraph URL: https://github.com/ndarray/ndarray/issues/97
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ndarray broken for linux aarch64","articleBody":"The unit ndarray-eigen unit test fails when compiling for linux aarch64 with gcc\r\n(gcc9 from Ubuntu 20.04 or conda build environment)\r\nThis patch fixes the problem. \r\nThe intermediate `m1+m2` assigned to an `ndarray` yields some slightly different \r\nmatrix element floats compared to `m3`.\r\n\r\n\r\n```\r\n--- tests/ndarray-eigen.cc.orig 2022-01-10 13:18:40.000000000 -0800\r\n+++ tests/ndarray-eigen.cc 2022-01-10 13:19:20.000000000 -0800\r\n@@ -90,8 +90,8 @@\r\n m1.setRandom(m, 6);\r\n Eigen::Matrix\u003cT, Eigen::Dynamic, Cols\u003e m2(6, n);\r\n m2.setRandom(6, n);\r\n- asEigenMatrix(makeMutable(a)) = m1 * m2;\r\n Eigen::Matrix\u003cT, Rows, Cols\u003e m3 = m1 * m2;\r\n+ asEigenMatrix(makeMutable(a)) = m3;\r\n for (int i = 0; i \u003c m; ++i) {\r\n for (int j = 0; j \u003c n; ++j) {\r\n BOOST_CHECK(a[i][j] == m3(i, j));\r\n\r\n```","author":{"url":"https://github.com/mwittgen","@type":"Person","name":"mwittgen"},"datePublished":"2022-01-10T21:33:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/97/ndarray/issues/97"}
| 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:4fbcb98a-40be-c9b9-76cc-8df6ba81363f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE8A:2C38E5:3D5F864:55D62C5:6971312E |
| html-safe-nonce | 28b1e1bf6f590291996799f8c8a79c2431b635a7166320df8315df92529e4aeb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRThBOjJDMzhFNTozRDVGODY0OjU1RDYyQzU6Njk3MTMxMkUiLCJ2aXNpdG9yX2lkIjoiMjYwMjU1MjkyODE4MjAyMjQ0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f1aa6cb0ab8224f3957a60f4c19f399760e2630b76feb856459aca06edc3f44e |
| hovercard-subject-tag | issue:1098411983 |
| 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/ndarray/ndarray/97/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13994b82c8b3d69ed8e514503cd2eb580b5c069bb53d96bfe34d9b419c3a97b2/ndarray/ndarray/issues/97 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13994b82c8b3d69ed8e514503cd2eb580b5c069bb53d96bfe34d9b419c3a97b2/ndarray/ndarray/issues/97 |
| og:image:alt | The unit ndarray-eigen unit test fails when compiling for linux aarch64 with gcc (gcc9 from Ubuntu 20.04 or conda build environment) This patch fixes the problem. The intermediate m1+m2 assigned to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwittgen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 235f189cb7458700436eaa6676a45f9abab16ecdfb4be6cc339f24abaa820b19 |
| turbo-cache-control | no-preview |
| go-import | github.com/ndarray/ndarray git https://github.com/ndarray/ndarray.git |
| octolytics-dimension-user_id | 1451802 |
| octolytics-dimension-user_login | ndarray |
| octolytics-dimension-repository_id | 3487413 |
| octolytics-dimension-repository_nwo | ndarray/ndarray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3487413 |
| octolytics-dimension-repository_network_root_nwo | ndarray/ndarray |
| 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 | e26123de62cafb036ecaec64b7f90a01b4a7f823 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width