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 473a9b2 commit 2ec9fdaCopy full SHA for 2ec9fda
src/forwarddiff.jl
@@ -113,7 +113,10 @@ end
113
anyeltypedual(x::Union{ForwardDiff.AbstractConfig, Module}, counter = 0) = Any
114
anyeltypedual(x::Type{T}, counter = 0) where {T <: ForwardDiff.AbstractConfig} = Any
115
anyeltypedual(x::SciMLBase.RecipesBase.AbstractPlot, counter = 0) = Any
116
-anyeltypedual(x::Returns, counter = 0) = anyeltypedual(x.value, counter)
+
117
+if VERSION >= v"1.7"
118
+ anyeltypedual(x::Returns, counter = 0) = anyeltypedual(x.value, counter)
119
+end
120
121
if isdefined(PreallocationTools, :FixedSizeDiffCache)
122
anyeltypedual(x::PreallocationTools.FixedSizeDiffCache, counter = 0) = Any
0 commit comments