From ec92e57bcb21305638d71785ffe8e7474f901f7b Mon Sep 17 00:00:00 2001 From: tmigot Date: Tue, 16 May 2023 10:52:34 -0400 Subject: [PATCH] test debug --- src/ReverseDiff.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReverseDiff.jl b/src/ReverseDiff.jl index 2580aae..caff556 100644 --- a/src/ReverseDiff.jl +++ b/src/ReverseDiff.jl @@ -23,7 +23,7 @@ using ChainRulesCore # Not all operations will be valid over all of these types, but that's okay; such cases # will simply error when they hit the original operation in the overloaded definition. -const ARRAY_TYPES = (:AbstractArray, :AbstractVector, :AbstractMatrix, :Array, :Vector, :Matrix) +const ARRAY_TYPES = (:AbstractArray, :AbstractVector, :AbstractMatrix, :Array, :Vector, :Matrix, :Diagonal) const REAL_TYPES = (:Bool, :Integer, :(Irrational{:ℯ}), :(Irrational{:π}), :Rational, :BigFloat, :BigInt, :AbstractFloat, :Real, :Dual) const SKIPPED_UNARY_SCALAR_FUNCS = Symbol[:isinf, :isnan, :isfinite, :iseven, :isodd, :isreal, :isinteger]