julia> f(x) = 3x^2 + 2x +1
f (generic function with 1 method)
julia> Tracker.gradient(f,-2)
ERROR: DomainError with log:
-2.0 will only return a complex
Is this documented somewhere and I’m missing it?
julia> f(x) = 3x^2 + 2x +1
f (generic function with 1 method)
julia> Tracker.gradient(f,-2)
ERROR: DomainError with log:
-2.0 will only return a complex
Is this documented somewhere and I’m missing it?