{"action":"closed","issue":{"url":"https://api.github.com/repos/gap-system/gap/issues/2134","repository_url":"https://api.github.com/repos/gap-system/gap","labels_url":"https://api.github.com/repos/gap-system/gap/issues/2134/labels{/name}","comments_url":"https://api.github.com/repos/gap-system/gap/issues/2134/comments","events_url":"https://api.github.com/repos/gap-system/gap/issues/2134/events","html_url":"https://github.com/gap-system/gap/issues/2134","id":293142169,"number":2134,"title":"`PrimitivePolynomial` throws errors on integer inputs","user":{"login":"ssiccha","id":11617763,"avatar_url":"https://avatars1.githubusercontent.com/u/11617763?v=4","gravatar_id":"","url":"https://api.github.com/users/ssiccha","html_url":"https://github.com/ssiccha","followers_url":"https://api.github.com/users/ssiccha/followers","following_url":"https://api.github.com/users/ssiccha/following{/other_user}","gists_url":"https://api.github.com/users/ssiccha/gists{/gist_id}","starred_url":"https://api.github.com/users/ssiccha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssiccha/subscriptions","organizations_url":"https://api.github.com/users/ssiccha/orgs","repos_url":"https://api.github.com/users/ssiccha/repos","events_url":"https://api.github.com/users/ssiccha/events{/privacy}","received_events_url":"https://api.github.com/users/ssiccha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-01-31T12:35:33Z","updated_at":"2018-02-01T08:49:58Z","closed_at":"2018-02-01T08:49:58Z","author_association":"CONTRIBUTOR","body":"`PrimitivePolynomial(1);` throws an error in the current master branch. I would expect it to just return `[1,1]`. Does anything speak against this?\r\n\r\nInstalling a trivial method for integers and/or rational numbers should be sufficient.\r\n\r\n```\r\ngap> PrimitivePolynomial(1);\r\nError, no method found! For debugging hints type ?Recovery from NoMethodFou\\\r\nnd\r\nError, no 1st choice method found for `PrimitivePolynomial' on 1 arg\\\r\numents at /home/sergio/projects/gap-master/lib/methsel2.g:250 called from\r\n<function \"HANDLE_METHOD_NOT_FOUND\">( <arguments> )\r\n called from read-eval loop at *stdin*:8\r\nyou can 'quit;' to quit to outer loop, or\r\nyou can 'return;' to continue\r\nbrk> \r\n```"}}
{"actor":{"display_login":"ssiccha"}}