Skip to content

Commit 94ddeb7

Browse files
authored
Merge pull request #607 from JuliaMath/os/fix-vararg
fix Vararg
2 parents ac98087 + 104eb71 commit 94ddeb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rewrite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ struct MyInterp{T,N,A<:AbstractArray{T,N}}
22
data::A
33
end
44

5-
@inline (itp::MyInterp{T,N})(i::Vararg{<:Number,N}) where {T,N} = expand(itp, i)
5+
@inline (itp::MyInterp{T,N})(i::Vararg{Number,N}) where {T,N} = expand(itp, i)
66

77
@inline function expand(itp::MyInterp, ipre::Tuple{Vararg{Number,L}}, ipost::Vararg{Integer,M}) where {L,M} # force specialization
88
ifront, ilast = Base.front(ipre), ipre[end]

0 commit comments

Comments
 (0)