{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/2173","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/2173/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/2173/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/2173/events","html_url":"https://github.com/scipy/scipy/issues/2173","id":13652527,"number":2173,"title":"Bug in orthogonal.py: values between 0 and 1 not accepted as \"positive\". (Trac #1648)","user":{"login":"scipy-gitbot","id":4182757,"avatar_url":"https://avatars.githubusercontent.com/u/4182757?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy-gitbot","html_url":"https://github.com/scipy-gitbot","followers_url":"https://api.github.com/users/scipy-gitbot/followers","following_url":"https://api.github.com/users/scipy-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/scipy-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy-gitbot/subscriptions","organizations_url":"https://api.github.com/users/scipy-gitbot/orgs","repos_url":"https://api.github.com/users/scipy-gitbot/repos","events_url":"https://api.github.com/users/scipy-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/scipy-gitbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"},{"url":"https://api.github.com/repos/scipy/scipy/labels/Migrated%20from%20Trac","name":"Migrated from Trac","color":"aaaaaa"},{"url":"https://api.github.com/repos/scipy/scipy/labels/prio-normal","name":"prio-normal","color":"999999"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.special","name":"scipy.special","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2013-04-25T17:46:14Z","updated_at":"2016-09-24T16:08:46Z","closed_at":"2016-09-24T16:08:46Z","body":"_Original ticket http://projects.scipy.org/scipy/ticket/1648 on 2012-04-25 by @mforbes, assigned to @pv._\n\nChangeset 62fa2c26993613915ffc7a8ae4a2c6cda2fb9232 replaced many `assert(n>0)` statements with `if n < 1:` conditions in `orthogonal.py`.  This breaks functions like `scipy.special.legendre` for values of `n` between `0` and `1`.\n\nThese constraints should be checked with `if n <=0:`\n\nFor example, the correct behaviour should be:\n\n\n    >>> scipy.special.legendre(0.5)(2.0)\n    1.3291381621853577\n\n\n\ninstead of raising `ValueError: n must be positive.`."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/249372629","html_url":"https://github.com/scipy/scipy/issues/2173#issuecomment-249372629","issue_url":"https://api.github.com/repos/scipy/scipy/issues/2173","id":249372629,"user":{"login":"person142","id":15134881,"avatar_url":"https://avatars.githubusercontent.com/u/15134881?v=3","gravatar_id":"","url":"https://api.github.com/users/person142","html_url":"https://github.com/person142","followers_url":"https://api.github.com/users/person142/followers","following_url":"https://api.github.com/users/person142/following{/other_user}","gists_url":"https://api.github.com/users/person142/gists{/gist_id}","starred_url":"https://api.github.com/users/person142/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/person142/subscriptions","organizations_url":"https://api.github.com/users/person142/orgs","repos_url":"https://api.github.com/users/person142/repos","events_url":"https://api.github.com/users/person142/events{/privacy}","received_events_url":"https://api.github.com/users/person142/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T16:08:46Z","updated_at":"2016-09-24T16:08:46Z","body":"The changes in https://github.com/scipy/scipy/commit/e6e28a3b7782cb59a92233cf974abdf4c2a7f932 went with the first option (disallow non-integer orders) and have been there for two years now, so I'd say this is closed."}}
{"actor":{"display_login":"person142"}}