{"action":"opened","issue":{"url":"https://api.github.com/repos/pymc-devs/pymc3/issues/886","labels_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/886/comments","events_url":"https://api.github.com/repos/pymc-devs/pymc3/issues/886/events","html_url":"https://github.com/pymc-devs/pymc3/issues/886","id":121106140,"number":886,"title":"Dirichlet distribution with int parameters crashes ipython kernel","user":{"login":"amcknight","id":622096,"avatar_url":"https://avatars.githubusercontent.com/u/622096?v=3","gravatar_id":"","url":"https://api.github.com/users/amcknight","html_url":"https://github.com/amcknight","followers_url":"https://api.github.com/users/amcknight/followers","following_url":"https://api.github.com/users/amcknight/following{/other_user}","gists_url":"https://api.github.com/users/amcknight/gists{/gist_id}","starred_url":"https://api.github.com/users/amcknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcknight/subscriptions","organizations_url":"https://api.github.com/users/amcknight/orgs","repos_url":"https://api.github.com/users/amcknight/repos","events_url":"https://api.github.com/users/amcknight/events{/privacy}","received_events_url":"https://api.github.com/users/amcknight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T21:44:53Z","updated_at":"2015-12-08T21:44:53Z","closed_at":null,"body":"```\r\nimport numpy as np\r\nimport pymc3 as pm\r\nwith pm.Model():\r\n    p = pm.Dirichlet('p', np.ones(2, dtype=int), shape=2)\r\n```\r\nSetting dtype to 'int' crashes ipython notebook. This happens with other shapes too.\r\nSetting to 'float' works as intended and setting to 'object' throws an AsTensorError, which is ok. (I didn't try other types.)"}}