{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/76","labels_url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/76/comments","events_url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/76/events","html_url":"https://github.com/JuliaDiff/ForwardDiff.jl/issues/76","id":121530188,"number":76,"title":"Inference problem or ambiguous definition of `<`","user":{"login":"pabloferz","id":8410335,"avatar_url":"https://avatars.githubusercontent.com/u/8410335?v=3","gravatar_id":"","url":"https://api.github.com/users/pabloferz","html_url":"https://github.com/pabloferz","followers_url":"https://api.github.com/users/pabloferz/followers","following_url":"https://api.github.com/users/pabloferz/following{/other_user}","gists_url":"https://api.github.com/users/pabloferz/gists{/gist_id}","starred_url":"https://api.github.com/users/pabloferz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabloferz/subscriptions","organizations_url":"https://api.github.com/users/pabloferz/orgs","repos_url":"https://api.github.com/users/pabloferz/repos","events_url":"https://api.github.com/users/pabloferz/events{/privacy}","received_events_url":"https://api.github.com/users/pabloferz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-10T16:50:11Z","updated_at":"2015-12-28T21:41:58Z","closed_at":"2015-12-10T22:07:23Z","body":"As mentioned <a href=\"https://groups.google.com/forum/#!topic/julia-users/e_ACdhwLHJg\">here</a> using `isless(g::GradientNumber, x::Real)` works but `<(g::GradientNumber, x::Real)` doesn't.\r\n\r\nI found that `<(g::GradientNumber, x::Real)` calls `<(x::Real, y::Real)` from julia's <a href=\"https://github.com/JuliaLang/julia/blob/master/base/promotion.jl\">promotion.jl</a> instead of calling `isless(g::ForwardDiffNumber, x::Real)`. This promotes both arguments to `GradientNumber` and that reports there is no a corresponding method (although, I thought it was going to call the method `argument_error` <a href=\"https://github.com/JuliaDiff/ForwardDiff.jl/blob/master/src/ForwardDiffNumber.jl#L78\">from here</a>).\r\n\r\nI'm not sure if this is a method ambiguity or an inference bug."},"comment":{"url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/comments/167663028","html_url":"https://github.com/JuliaDiff/ForwardDiff.jl/issues/76#issuecomment-167663028","issue_url":"https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/issues/76","id":167663028,"user":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T21:41:58Z","updated_at":"2015-12-28T21:41:58Z","body":"Is it time to push a new version? Without this patch and #82  I have troubles with many of my functions. Of course I can use master but it seems that these two patches are quite important so a new version would be nice.\r\n\r\ncc @jrevels "}}