You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aqua flags this method as potential type-piracy (see JuliaTesting/Aqua.jl#173). I think this is fine, and the flag is a false positive, but why do we need this method? Is a real infinity used as an array size or index, as opposed to the integer ℵ₀?
The text was updated successfully, but these errors were encountered:
It is indeed a false positive as all potential ambiguities have more restricted definitions eg
julia>@which Base.to_shape((),)
to_shape(::Tuple{})
@ Base abstractarray.jl:851
Is a real infinity used as an array size or index, as opposed to the integer ℵ₀?
This is possibly just outdated code (it used to be the case that ∞ isa Integer hence played the role of ℵ₀). Alternatively it was to support a[∞] instead of a[ℵ₀].
Infinities.jl/src/cardinality.jl
Line 192 in 489b68b
Aqua flags this method as potential type-piracy (see JuliaTesting/Aqua.jl#173). I think this is fine, and the flag is a false positive, but why do we need this method? Is a real infinity used as an array size or index, as opposed to the integer
ℵ₀
?The text was updated successfully, but these errors were encountered: