[julia-users] `<` and `isless` for GradientNumber (ForwardDiff.jl)
What Julia version are you on? Can you please paste some code that reproduces the error.
[julia-users] `<` and `isless` for GradientNumber (ForwardDiff.jl)
Hi everyone I was using ForwardDiff.jl and found that I can't use <(g::GradientNumber, x::Real), whereas I can use isless(g::GradientNumber, x::Real) If I define a custom type and the corresponding isless method I can use < automatically. Why is that it is not the case for GradienNumber? Thanks, Pablo Zubieta