{"action":"created","issue":{"url":"https://api.github.com/repos/Macaulay2/M2/issues/760","repository_url":"https://api.github.com/repos/Macaulay2/M2","labels_url":"https://api.github.com/repos/Macaulay2/M2/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/Macaulay2/M2/issues/760/comments","events_url":"https://api.github.com/repos/Macaulay2/M2/issues/760/events","html_url":"https://github.com/Macaulay2/M2/issues/760","id":305491991,"number":760,"title":"Degree lost in ring over a fraction field","user":{"login":"pzinn","id":4632711,"avatar_url":"https://avatars1.githubusercontent.com/u/4632711?v=4","gravatar_id":"","url":"https://api.github.com/users/pzinn","html_url":"https://github.com/pzinn","followers_url":"https://api.github.com/users/pzinn/followers","following_url":"https://api.github.com/users/pzinn/following{/other_user}","gists_url":"https://api.github.com/users/pzinn/gists{/gist_id}","starred_url":"https://api.github.com/users/pzinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzinn/subscriptions","organizations_url":"https://api.github.com/users/pzinn/orgs","repos_url":"https://api.github.com/users/pzinn/repos","events_url":"https://api.github.com/users/pzinn/events{/privacy}","received_events_url":"https://api.github.com/users/pzinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T10:24:38Z","updated_at":"2018-03-15T13:34:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A pretty serious bug (IMHO) I just came across.\r\nCompare\r\n```\r\ni1 : R=QQ[x,y,DegreeRank=>2]\r\n\r\no1 = R\r\n\r\no1 : PolynomialRing\r\n\r\ni2 : degree y\r\n\r\no2 = {0, 1}\r\n\r\no2 : List\r\n\r\ni3 : R2=R[z]\r\n\r\no3 = R2\r\n\r\no3 : PolynomialRing\r\n\r\ni4 : degree(y*z)\r\n\r\no4 = {1, 0, 1}\r\n\r\no4 : List\r\n```\r\nM2 has correctly concatenated the degree rings; and:\r\n```\r\ni1 : R=frac(QQ[x,y,DegreeRank=>2])\r\n\r\no1 = R\r\n\r\no1 : FractionField\r\n\r\ni2 : degree(x/y)\r\n\r\no2 = {1, -1}\r\n\r\no2 : List\r\n\r\ni3 : R2=R[z]\r\n\r\no3 = R2\r\n\r\no3 : PolynomialRing\r\n\r\ni4 : degree(y*z)\r\n\r\no4 = {1}\r\n```\r\nthis time the degree ring of R has mysteriously disappeared..."},"comment":{"url":"https://api.github.com/repos/Macaulay2/M2/issues/comments/373377194","html_url":"https://github.com/Macaulay2/M2/issues/760#issuecomment-373377194","issue_url":"https://api.github.com/repos/Macaulay2/M2/issues/760","id":373377194,"user":{"login":"DanGrayson","id":700228,"avatar_url":"https://avatars1.githubusercontent.com/u/700228?v=4","gravatar_id":"","url":"https://api.github.com/users/DanGrayson","html_url":"https://github.com/DanGrayson","followers_url":"https://api.github.com/users/DanGrayson/followers","following_url":"https://api.github.com/users/DanGrayson/following{/other_user}","gists_url":"https://api.github.com/users/DanGrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/DanGrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanGrayson/subscriptions","organizations_url":"https://api.github.com/users/DanGrayson/orgs","repos_url":"https://api.github.com/users/DanGrayson/repos","events_url":"https://api.github.com/users/DanGrayson/events{/privacy}","received_events_url":"https://api.github.com/users/DanGrayson/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T13:34:45Z","updated_at":"2018-03-15T13:34:45Z","author_association":"OWNER","body":"Yes, but this time R is a field, so it's not a graded ring, and there's no use pretending it is."}}
{"actor":{"display_login":"DanGrayson"}}