Title: Aff `get_coefficients_by_name` intended behavior? · Issue #24 · inducer/islpy · GitHub
Open Graph Title: Aff `get_coefficients_by_name` intended behavior? · Issue #24 · inducer/islpy
X Title: Aff `get_coefficients_by_name` intended behavior? · Issue #24 · inducer/islpy
Description: import islpy aff = islpy.Aff("[N] -> { [x] -> [x+1] } ") aff.get_coefficients_by_name(dimtype=None) gives isl_aff.c:763: output/set dimension does not have a coefficient According the doc, setting dimtype to None should produce the coeff...
Open Graph Description: import islpy aff = islpy.Aff("[N] -> { [x] -> [x+1] } ") aff.get_coefficients_by_name(dimtype=None) gives isl_aff.c:763: output/set dimension does not have a coefficient According the doc, setting ...
X Description: import islpy aff = islpy.Aff("[N] -> { [x] -> [x+1] } ") aff.get_coefficients_by_name(dimtype=None) gives isl_aff.c:763: output/set dimension does not have a coefficient According t...
Opengraph URL: https://github.com/inducer/islpy/issues/24
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Aff `get_coefficients_by_name` intended behavior?","articleBody":"```python\r\nimport islpy\r\naff = islpy.Aff(\"[N] -\u003e { [x] -\u003e [x+1] } \")\r\naff.get_coefficients_by_name(dimtype=None)\r\n```\r\ngives\r\n\u003e isl_aff.c:763: output/set dimension does not have a coefficient\r\n\r\nAccording the doc, setting `dimtype` to None should produce the coefficients for all dimensions? \r\nI digged a little, in the generated _isl.py,\r\n``` \r\n_CHECK_DIM_TYPES = [\r\n dim_type.in_, dim_type.param, dim_type.set]\r\n```\r\nwhich is used by `obj_get_coefficients_by_name` to retrieve the coefficients. When does Aff has a set dimension? Is this a bug or intended behavior?","author":{"url":"https://github.com/thisiscam","@type":"Person","name":"thisiscam"},"datePublished":"2020-03-03T07:33:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/24/islpy/issues/24"}
| 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:8017f35a-ebc6-1288-51ab-ccc57b550f9a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2B6:2B8AFB:F7FFA3:158164A:6A4BE902 |
| html-safe-nonce | f5b465e343e2aadde1a5b99e15e12ad3157d108370f527d3394d4d980c5e9da4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkI2OjJCOEFGQjpGN0ZGQTM6MTU4MTY0QTo2QTRCRTkwMiIsInZpc2l0b3JfaWQiOiI2MjM2NTg3NzY3Njc3NTI0NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 297491321623865c1c2e20abeadfab25de939b46335fd40c191ce1de30b353f1 |
| hovercard-subject-tag | issue:574472009 |
| 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/inducer/islpy/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f24018adbc83c0c6a3d45aacc2a734e4768fb49f991124c70e6117cbead8bc0f/inducer/islpy/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f24018adbc83c0c6a3d45aacc2a734e4768fb49f991124c70e6117cbead8bc0f/inducer/islpy/issues/24 |
| og:image:alt | import islpy aff = islpy.Aff("[N] -> { [x] -> [x+1] } ") aff.get_coefficients_by_name(dimtype=None) gives isl_aff.c:763: output/set dimension does not have a coefficient According the doc, setting ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thisiscam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/inducer/islpy git https://github.com/inducer/islpy.git |
| octolytics-dimension-user_id | 352067 |
| octolytics-dimension-user_login | inducer |
| octolytics-dimension-repository_id | 2021524 |
| octolytics-dimension-repository_nwo | inducer/islpy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2021524 |
| octolytics-dimension-repository_network_root_nwo | inducer/islpy |
| 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 | f24da9b76b42d77b0bb458f810509565e9ba5f1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width