I just noticed that ambiguity warnings are shown in a way that I suspect is unintentional:
julia> using Interpolations # with a bunch of WIP
Warning: New definition
getindexTuple{Interpolations.ConstantExtrapolation{T,N,ITP,Interpolations.OnGrid},Vararg{Any}} at /home/tlycken/.julia/v0.4/Interpolations/src/extrapolation/extrapolation.jl:39
is ambiguous with:
getindexTuple{Interpolations.ConstantExtrapolation{T,N,ITP,GT},Real} at /home/tlycken/.julia/v0.4/Interpolations/src/extrapolation/extrapolation.jl:31.
To fix, define
getindexTuple{Interpolations.ConstantExtrapolation{T,N,ITP,Interpolations.OnGrid},Real}
before the new definition.
Shouldn’t all the getindexTuple{...}
really be getindex(...)
, and Vararg{Any}
be Any...
?
I did look for an issue for this without finding anything, but I’m not sure my issue search-fu is that great, so I thought I’d check here before filing anything. (I also had some trouble creating a minimal example that causes ambiguity warnings…)
// T