{"action":"created","issue":{"url":"https://api.github.com/repos/pymc-devs/pymc3/issues/2366","repository_url":"https://api.github.com/repos/pymc-devs/pymc3","labels_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/2366/labels{/name}","comments_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/2366/comments","events_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/2366/events","html_url":"https://github.com/pymc-devs/pymc3/issues/2366","id":239546108,"number":2366,"title":"Discrete variables: int16 vs int32 vs int64","user":{"login":"denadai2","id":190799,"avatar_url":"https://avatars2.githubusercontent.com/u/190799?v=3","gravatar_id":"","url":"https://api.github.com/users/denadai2","html_url":"https://github.com/denadai2","followers_url":"https://api.github.com/users/denadai2/followers","following_url":"https://api.github.com/users/denadai2/following{/other_user}","gists_url":"https://api.github.com/users/denadai2/gists{/gist_id}","starred_url":"https://api.github.com/users/denadai2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denadai2/subscriptions","organizations_url":"https://api.github.com/users/denadai2/orgs","repos_url":"https://api.github.com/users/denadai2/repos","events_url":"https://api.github.com/users/denadai2/events{/privacy}","received_events_url":"https://api.github.com/users/denadai2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-29T16:54:31Z","updated_at":"2017-06-30T15:08:34Z","closed_at":null,"body":"Is it correct that \r\n\r\n- here (https://github.com/pymc-devs/pymc3/blob/master/pymc3/distributions/distribution.py#L124) we have float32 => int16, else int64\r\n- here (https://github.com/pymc-devs/pymc3/blob/master/pymc3/distributions/discrete.py#L286) we have the mode casted to int32\r\n\r\nWhy do we have so different precisions? Are they correct?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/pymc-devs/pymc3/issues/comments/312293231","html_url":"https://github.com/pymc-devs/pymc3/issues/2366#issuecomment-312293231","issue_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/2366","id":312293231,"user":{"login":"denadai2","id":190799,"avatar_url":"https://avatars2.githubusercontent.com/u/190799?v=3","gravatar_id":"","url":"https://api.github.com/users/denadai2","html_url":"https://github.com/denadai2","followers_url":"https://api.github.com/users/denadai2/followers","following_url":"https://api.github.com/users/denadai2/following{/other_user}","gists_url":"https://api.github.com/users/denadai2/gists{/gist_id}","starred_url":"https://api.github.com/users/denadai2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denadai2/subscriptions","organizations_url":"https://api.github.com/users/denadai2/orgs","repos_url":"https://api.github.com/users/denadai2/repos","events_url":"https://api.github.com/users/denadai2/events{/privacy}","received_events_url":"https://api.github.com/users/denadai2/received_events","type":"User","site_admin":false},"created_at":"2017-06-30T15:08:34Z","updated_at":"2017-06-30T15:08:34Z","body":"yes but why do we set sometimes int16, other times int32 etc? shouldn't we have a standard like\r\n\r\n- floatX == float32 => int32\r\n- floatX == float64 => int64\r\n\r\neverywhere?"}}
{"actor":{"display_login":"denadai2"}}