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.
2 parents ac98087 + 104eb71 commit 94ddeb7Copy full SHA for 94ddeb7
src/rewrite.jl
@@ -2,7 +2,7 @@ struct MyInterp{T,N,A<:AbstractArray{T,N}}
2
data::A
3
end
4
5
-@inline (itp::MyInterp{T,N})(i::Vararg{<:Number,N}) where {T,N} = expand(itp, i)
+@inline (itp::MyInterp{T,N})(i::Vararg{Number,N}) where {T,N} = expand(itp, i)
6
7
@inline function expand(itp::MyInterp, ipre::Tuple{Vararg{Number,L}}, ipost::Vararg{Integer,M}) where {L,M} # force specialization
8
ifront, ilast = Base.front(ipre), ipre[end]
0 commit comments