From 749b8a61b9f71fe1343705342c2ebc8330af1f4f Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Sat, 25 Jan 2020 13:09:06 +1100 Subject: [PATCH] fix method ambiguity in _dropdims(A, Tuple{}) --- src/dimension.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dimension.jl b/src/dimension.jl index 74bb41b2c..7cad55214 100644 --- a/src/dimension.jl +++ b/src/dimension.jl @@ -10,7 +10,7 @@ ConstructionBase.constructorof(d::Type{<:AbstractDimension}) = basetypeof(d) const AbDim = AbstractDimension const AbDimType = Type{<:AbDim} -const AbDimTuple = Tuple{Vararg{<:AbDim,N}} where N +const AbDimTuple = Tuple{<:AbDim,Vararg{<:AbDim,N}} where N const AbDimVector = Vector{<:AbDim} const DimOrDimType = Union{AbDim,AbDimType} const AllDimensions = Union{AbDim,AbDimTuple,AbDimType,