{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/10961","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/10961/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/10961/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/10961/events","html_url":"https://github.com/sympy/sympy/issues/10961","id":145796608,"number":10961,"title":"fractional order Laguerre gives wrong result","user":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/Easy%20to%20Fix","name":"Easy to Fix","color":"009800"},{"url":"https://api.github.com/repos/sympy/sympy/labels/polys","name":"polys","color":"0000FF"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-04-04T20:36:23Z","updated_at":"2016-10-05T14:51:26Z","closed_at":null,"body":"````\r\nIn [22]: laguerre(2, x)            # yes\r\nOut[22]: x**2/2 - 2*x + 1\r\n\r\nIn [23]: laguerre(n, x)            # yes\r\nOut[23]: laguerre(n, x)\r\n\r\nIn [24]: laguerre(pi, x)           # ok\r\nOut[24]: laguerre(pi, x)\r\n\r\nIn [25]: laguerre(S(5)/2, x)       # silently, incorrectly gives same as n=2\r\nOut[25]: x**2/2 - 2*x + 1\r\n\r\nIn [26]: laguerre(-1, x)           # correctly raises an exception\r\nOut[25]: x**2/2 - 2*x + 1\r\n````\r\nPerhaps an `int()` cast somewhere which could be more precise?  It should either stay unevaluated or raise an exception, TBD.\r\n\r\n\"Easy to Fix\" tag is a guess, not a promise ;-)"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/251697894","html_url":"https://github.com/sympy/sympy/issues/10961#issuecomment-251697894","issue_url":"https://api.github.com/repos/sympy/sympy/issues/10961","id":251697894,"user":{"login":"zanzibar7","id":2191670,"avatar_url":"https://avatars.githubusercontent.com/u/2191670?v=3","gravatar_id":"","url":"https://api.github.com/users/zanzibar7","html_url":"https://github.com/zanzibar7","followers_url":"https://api.github.com/users/zanzibar7/followers","following_url":"https://api.github.com/users/zanzibar7/following{/other_user}","gists_url":"https://api.github.com/users/zanzibar7/gists{/gist_id}","starred_url":"https://api.github.com/users/zanzibar7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanzibar7/subscriptions","organizations_url":"https://api.github.com/users/zanzibar7/orgs","repos_url":"https://api.github.com/users/zanzibar7/repos","events_url":"https://api.github.com/users/zanzibar7/events{/privacy}","received_events_url":"https://api.github.com/users/zanzibar7/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T14:51:26Z","updated_at":"2016-10-05T14:51:26Z","body":"When you submit a pull request to fix an issue, include the issue number ( #10961 ) in the request.  That way, a link to it will show up here.\r\n\r\nI'm guessing we are talking about pull request  #11698.\r\n\r\nLooks like you have a simple spelling error.  This would have been caught if you ran the test suite before submitting.  If you're in the terminal, working from the sympy home directory, run \r\n```\r\nbin/test spec_polynomials\r\n```\r\nto test the changes you made to `sympy/functions/special/tests/test_spec_polynomials.py` and \r\n`sympy/functions/special/polynomials.py`.  If that passes without errors, run `bin/test` to run the full test suite (which takes a long time to run).  If that passes and `bin/doctest` also passes, you're ready to submit a pull request.\r\n\r\nThere's allot of information on this in the [development workflow](http://github.com/sympy/sympy/wiki/Development-workflow) documentation.\r\n"}}
{"actor":{"display_login":"zanzibar7"}}