{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/6800","labels_url":"https://api.github.com/repos/numpy/numpy/issues/6800/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6800/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/6800/events","html_url":"https://github.com/numpy/numpy/issues/6800","id":121225243,"number":6800,"title":"rk_beta in /random lack of robust","user":{"login":"dylanwwang","id":16224113,"avatar_url":"https://avatars.githubusercontent.com/u/16224113?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanwwang","html_url":"https://github.com/dylanwwang","followers_url":"https://api.github.com/users/dylanwwang/followers","following_url":"https://api.github.com/users/dylanwwang/following{/other_user}","gists_url":"https://api.github.com/users/dylanwwang/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanwwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanwwang/subscriptions","organizations_url":"https://api.github.com/users/dylanwwang/orgs","repos_url":"https://api.github.com/users/dylanwwang/repos","events_url":"https://api.github.com/users/dylanwwang/events{/privacy}","received_events_url":"https://api.github.com/users/dylanwwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T12:21:05Z","updated_at":"2015-12-09T14:59:08Z","closed_at":null,"body":"Even if the beta_distribution of the parameters shouldn't < 0, function rk_beta in distribution.c should check the arguments"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/163281102","html_url":"https://github.com/numpy/numpy/issues/6800#issuecomment-163281102","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6800","id":163281102,"user":{"login":"rkern","id":46135,"avatar_url":"https://avatars.githubusercontent.com/u/46135?v=3","gravatar_id":"","url":"https://api.github.com/users/rkern","html_url":"https://github.com/rkern","followers_url":"https://api.github.com/users/rkern/followers","following_url":"https://api.github.com/users/rkern/following{/other_user}","gists_url":"https://api.github.com/users/rkern/gists{/gist_id}","starred_url":"https://api.github.com/users/rkern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkern/subscriptions","organizations_url":"https://api.github.com/users/rkern/orgs","repos_url":"https://api.github.com/users/rkern/repos","events_url":"https://api.github.com/users/rkern/events{/privacy}","received_events_url":"https://api.github.com/users/rkern/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T14:59:08Z","updated_at":"2015-12-09T14:59:08Z","body":"It was a conscious design decision to put all argument checking into the Cython wrappers and not the C code. These functions will be called in tight loops, always with valid parameters, so duplicating the checks inside the C functions would be a waste of cycles."}}