Skip to content

Commit 6ac7e3c

Browse files
author
Joe Petviashvili
committed
fix for 0.5
1 parent b1d5a47 commit 6ac7e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ end
88

99
global const scopes = Vector{Vector{AFArray}}()
1010

11-
matches(arr, except::Union{Void,Number,Array{<:Number}}) = false
11+
matches{T<:Number}(arr, except::Union{Void,Number,Array{T}}) = false
1212
matches(arr, except::AFArray) = arr === except
1313
matches(arr, except::Tuple) = any(ex -> matches(arr, ex), except)
1414
matches{T}(arr, except::T) = error("@afgc return value can be Void, Number, Array{<:Number}, or Tuple but found $T")

0 commit comments

Comments
 (0)