{"action":"closed","issue":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/327","labels_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/327/comments","events_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/327/events","html_url":"https://github.com/gionkunz/chartist-js/issues/327","id":79445747,"number":327,"title":"Chartist freezes the browser when line graph has only 0 values. ","user":{"login":"antonigiske","id":271969,"avatar_url":"https://avatars.githubusercontent.com/u/271969?v=3","gravatar_id":"","url":"https://api.github.com/users/antonigiske","html_url":"https://github.com/antonigiske","followers_url":"https://api.github.com/users/antonigiske/followers","following_url":"https://api.github.com/users/antonigiske/following{/other_user}","gists_url":"https://api.github.com/users/antonigiske/gists{/gist_id}","starred_url":"https://api.github.com/users/antonigiske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonigiske/subscriptions","organizations_url":"https://api.github.com/users/antonigiske/orgs","repos_url":"https://api.github.com/users/antonigiske/repos","events_url":"https://api.github.com/users/antonigiske/events{/privacy}","received_events_url":"https://api.github.com/users/antonigiske/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T12:56:41Z","updated_at":"2015-05-22T12:57:30Z","closed_at":"2015-05-22T12:57:30Z","body":"The issues seems to be in the Pollard Rho algorithm (Chartist.rho). Seems to work great if I add this snippet of code:\r\n\r\n    if (num == 1) {\r\n        return 1;\r\n    }"}}