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 b1d5a47 commit 6ac7e3cCopy full SHA for 6ac7e3c
src/scope.jl
@@ -8,7 +8,7 @@ end
8
9
global const scopes = Vector{Vector{AFArray}}()
10
11
-matches(arr, except::Union{Void,Number,Array{<:Number}}) = false
+matches{T<:Number}(arr, except::Union{Void,Number,Array{T}}) = false
12
matches(arr, except::AFArray) = arr === except
13
matches(arr, except::Tuple) = any(ex -> matches(arr, ex), except)
14
matches{T}(arr, except::T) = error("@afgc return value can be Void, Number, Array{<:Number}, or Tuple but found $T")
0 commit comments