{"action":"created","issue":{"url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/26","labels_url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/26/comments","events_url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/26/events","html_url":"https://github.com/mit-probabilistic-computing-project/crosscat/issues/26","id":49447179,"number":26,"title":"assertion fail in numerics.cpp","user":{"login":"fiendish","id":201996,"avatar_url":"https://avatars.githubusercontent.com/u/201996?v=3","gravatar_id":"","url":"https://api.github.com/users/fiendish","html_url":"https://github.com/fiendish","followers_url":"https://api.github.com/users/fiendish/followers","following_url":"https://api.github.com/users/fiendish/following{/other_user}","gists_url":"https://api.github.com/users/fiendish/gists{/gist_id}","starred_url":"https://api.github.com/users/fiendish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiendish/subscriptions","organizations_url":"https://api.github.com/users/fiendish/orgs","repos_url":"https://api.github.com/users/fiendish/repos","events_url":"https://api.github.com/users/fiendish/events{/privacy}","received_events_url":"https://api.github.com/users/fiendish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-19T20:12:52Z","updated_at":"2015-07-23T14:32:19Z","closed_at":"2015-07-23T14:32:19Z","body":"In numerics.cpp there is a pair of lines:\r\n\r\n```\r\n// FIXME: should this fail?\r\nassert(rand_u < 1E-10);\r\n```\r\n\r\nI just hit this assertion error. I believe the answer to the question is, no, it shouldn't fail. It should just return draw. If that is the wrong return for some reason, then it is at least better than crashing out right?"},"comment":{"url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/comments/124124978","html_url":"https://github.com/mit-probabilistic-computing-project/crosscat/issues/26#issuecomment-124124978","issue_url":"https://api.github.com/repos/mit-probabilistic-computing-project/crosscat/issues/26","id":124124978,"user":{"login":"gregory-marton","id":5065456,"avatar_url":"https://avatars.githubusercontent.com/u/5065456?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory-marton","html_url":"https://github.com/gregory-marton","followers_url":"https://api.github.com/users/gregory-marton/followers","following_url":"https://api.github.com/users/gregory-marton/following{/other_user}","gists_url":"https://api.github.com/users/gregory-marton/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory-marton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory-marton/subscriptions","organizations_url":"https://api.github.com/users/gregory-marton/orgs","repos_url":"https://api.github.com/users/gregory-marton/repos","events_url":"https://api.github.com/users/gregory-marton/events{/privacy}","received_events_url":"https://api.github.com/users/gregory-marton/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T14:32:19Z","updated_at":"2015-07-23T14:32:19Z","body":"Closing as stale / will-not-fix / working-as-intended.  Please reopen if you feel like Dan's answer doesn't really address your concern.  Thanks!"}}