{"action":"opened","issue":{"url":"https://api.github.com/repos/Macaulay2/M2/issues/479","repository_url":"https://api.github.com/repos/Macaulay2/M2","labels_url":"https://api.github.com/repos/Macaulay2/M2/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/Macaulay2/M2/issues/479/comments","events_url":"https://api.github.com/repos/Macaulay2/M2/issues/479/events","html_url":"https://github.com/Macaulay2/M2/issues/479","id":158369724,"number":479,"title":"Trouble with 'solve' over ZZ","user":{"login":"lkastner","id":1459046,"avatar_url":"https://avatars.githubusercontent.com/u/1459046?v=3","gravatar_id":"","url":"https://api.github.com/users/lkastner","html_url":"https://github.com/lkastner","followers_url":"https://api.github.com/users/lkastner/followers","following_url":"https://api.github.com/users/lkastner/following{/other_user}","gists_url":"https://api.github.com/users/lkastner/gists{/gist_id}","starred_url":"https://api.github.com/users/lkastner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkastner/subscriptions","organizations_url":"https://api.github.com/users/lkastner/orgs","repos_url":"https://api.github.com/users/lkastner/repos","events_url":"https://api.github.com/users/lkastner/events{/privacy}","received_events_url":"https://api.github.com/users/lkastner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-03T13:40:26Z","updated_at":"2016-06-03T13:40:26Z","closed_at":null,"body":"I am using 'solve' to find the integral solution of a system of linear equations. I know that there is a unique solution. It works sometimes, other times it does not, and then I promote everything to QQ and afterwards lift back to ZZ:\r\n```\r\nim = matrix {{1, 1, 1, 1, 1, 1, 1, 1}, {1, -1, 0, 0, 0, 0, 0, 0}, {0, 0, 1, -1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, -1, 0, 0}, {0, 0, 0, 0, 0, 0, 1, -1}}\r\nv = matrix {{0, 2, 2, 0, 0, 2, 0, 2}}\r\nsolve(transpose im, transpose v)\r\nsolve(promote(transpose im, QQ), promote(transpose v, QQ))\r\n```\r\nIf this is intended behaviour, maybe the error message could be changed to indicate that one should use another ring?"}}
{"actor":{"display_login":"lkastner"}}