We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e4b171 commit aa21863Copy full SHA for aa21863
src/chainrules.jl
@@ -78,7 +78,7 @@ accum_sum(xs::AbstractArray{T}; dims = :) where {T <: TaylorScalar} = sum(xs, di
78
79
TaylorNumeric{T <: TaylorScalar} = Union{T, AbstractArray{<:T}}
80
81
-@adjoint function broadcasted(::typeof(+), xs::Union{Numeric, TaylorNumeric}...)
+@adjoint function broadcasted(::typeof(+), xs::TaylorNumeric...)
82
broadcast(+, xs...), ȳ -> (nothing, map(x -> unbroadcast(x, ȳ), xs)...)
83
end
84
0 commit comments