{"action":"created","issue":{"url":"https://api.github.com/repos/UDST/urbansim/issues/183","repository_url":"https://api.github.com/repos/UDST/urbansim","labels_url":"https://api.github.com/repos/UDST/urbansim/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/UDST/urbansim/issues/183/comments","events_url":"https://api.github.com/repos/UDST/urbansim/issues/183/events","html_url":"https://github.com/UDST/urbansim/pull/183","id":206898763,"number":183,"title":"Two more TypeError fixes related to numpy 1.12","user":{"login":"pksohn","id":8894537,"avatar_url":"https://avatars.githubusercontent.com/u/8894537?v=3","gravatar_id":"","url":"https://api.github.com/users/pksohn","html_url":"https://github.com/pksohn","followers_url":"https://api.github.com/users/pksohn/followers","following_url":"https://api.github.com/users/pksohn/following{/other_user}","gists_url":"https://api.github.com/users/pksohn/gists{/gist_id}","starred_url":"https://api.github.com/users/pksohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksohn/subscriptions","organizations_url":"https://api.github.com/users/pksohn/orgs","repos_url":"https://api.github.com/users/pksohn/repos","events_url":"https://api.github.com/users/pksohn/events{/privacy}","received_events_url":"https://api.github.com/users/pksohn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-10T20:29:14Z","updated_at":"2017-02-10T20:32:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/UDST/urbansim/pulls/183","html_url":"https://github.com/UDST/urbansim/pull/183","diff_url":"https://github.com/UDST/urbansim/pull/183.diff","patch_url":"https://github.com/UDST/urbansim/pull/183.patch"},"body":"This is an extension to #182. Numpy 1.12 raises a `TypeError` when floats are passed to a parameter that wants an integer in two places that interact with urbansim:\r\n\r\n* The `size` parameter in [numpy.random.choice](https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.choice.html)\r\n* The `newshape` parameter in [numpy.reshape](https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html)\r\n\r\nThese two issues have been fixed in a couple of places by simply casting to int again."},"comment":{"url":"https://api.github.com/repos/UDST/urbansim/issues/comments/279058158","html_url":"https://github.com/UDST/urbansim/pull/183#issuecomment-279058158","issue_url":"https://api.github.com/repos/UDST/urbansim/issues/183","id":279058158,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T20:32:13Z","updated_at":"2017-02-10T20:32:13Z","body":"\n[![Coverage Status](https://coveralls.io/builds/10100337/badge)](https://coveralls.io/builds/10100337)\n\nChanges Unknown when pulling **29bd1a803243c6514be1f9be930fe6abfdc9abd4 on pksohn:np_type_error** into ** on UDST:master**.\n"}}
{"actor":{"display_login":"coveralls"}}