{"action":"created","issue":{"url":"https://api.github.com/repos/Ogeon/palette/issues/51","repository_url":"https://api.github.com/repos/Ogeon/palette","labels_url":"https://api.github.com/repos/Ogeon/palette/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Ogeon/palette/issues/51/comments","events_url":"https://api.github.com/repos/Ogeon/palette/issues/51/events","html_url":"https://github.com/Ogeon/palette/pull/51","id":133531952,"number":51,"title":"[WIP] Implement approx eq trait","user":{"login":"sidred","id":6623285,"avatar_url":"https://avatars.githubusercontent.com/u/6623285?v=3","gravatar_id":"","url":"https://api.github.com/users/sidred","html_url":"https://github.com/sidred","followers_url":"https://api.github.com/users/sidred/followers","following_url":"https://api.github.com/users/sidred/following{/other_user}","gists_url":"https://api.github.com/users/sidred/gists{/gist_id}","starred_url":"https://api.github.com/users/sidred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidred/subscriptions","organizations_url":"https://api.github.com/users/sidred/orgs","repos_url":"https://api.github.com/users/sidred/repos","events_url":"https://api.github.com/users/sidred/events{/privacy}","received_events_url":"https://api.github.com/users/sidred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-14T11:34:29Z","updated_at":"2016-02-14T12:22:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Ogeon/palette/pulls/51","html_url":"https://github.com/Ogeon/palette/pull/51","diff_url":"https://github.com/Ogeon/palette/pull/51.diff","patch_url":"https://github.com/Ogeon/palette/pull/51.patch"},"body":"Implements approx eq trait from the approx crate"},"comment":{"url":"https://api.github.com/repos/Ogeon/palette/issues/comments/183881509","html_url":"https://github.com/Ogeon/palette/pull/51#issuecomment-183881509","issue_url":"https://api.github.com/repos/Ogeon/palette/issues/51","id":183881509,"user":{"login":"sidred","id":6623285,"avatar_url":"https://avatars.githubusercontent.com/u/6623285?v=3","gravatar_id":"","url":"https://api.github.com/users/sidred","html_url":"https://github.com/sidred","followers_url":"https://api.github.com/users/sidred/followers","following_url":"https://api.github.com/users/sidred/following{/other_user}","gists_url":"https://api.github.com/users/sidred/gists{/gist_id}","starred_url":"https://api.github.com/users/sidred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidred/subscriptions","organizations_url":"https://api.github.com/users/sidred/orgs","repos_url":"https://api.github.com/users/sidred/repos","events_url":"https://api.github.com/users/sidred/events{/privacy}","received_events_url":"https://api.github.com/users/sidred/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T12:22:49Z","updated_at":"2016-02-14T12:22:49Z","body":">  Did you write type Epsilon = T::Epsilon; or type Epsilon = <T as ApproxEq>::Epsilon;, as well? That is necessary to make sure Epsilon is the same type as for T.\r\n\r\nAny ideas on how to cast epsilon as T \r\n```\r\n    fn default_epsilon() -> Self::Epsilon {\r\n        flt(EPSILON)\r\n    }\r\n\r\nerror: the trait `num::traits::Float` is not implemented for the type `<T as approx::ApproxEq>::Epsilon` [E0277]\r\n\r\n```"}}