-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Infinities.jl/src/cardinality.jl
Line 192 in 489b68b
Base.to_shape(dims::Tuple{Vararg{Union{Infinity, Integer, AbstractUnitRange}}}) = map(Base.to_shape, dims) |
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 ℵ₀
?
Metadata
Metadata
Assignees
Labels
No labels