We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d4d2b0 commit 7d5946bCopy full SHA for 7d5946b
src/instrument/site_array.jl
@@ -128,6 +128,7 @@ _equalorin(x::Real, y) = x ∈ y
128
_equalorin(x, y::Real) = y ∈ x
129
_equalorin(x, y) = y ∈ x
130
_equalorin(x, ::typeof(Base.Colon())) = true
131
+_equalorin(::typeof(Base.Colon()), x) = true
132
const Indexable = Union{Integer, AbstractArray{<:Integer}, BitArray}
133
134
function Base.getindex(arr::SiteArray; Fr=Base.Colon(), S=Base.Colon(), Ti=Base.Colon())
0 commit comments