JuliaMath / JuliaMath/Infinities.jl

Potentially problematic method definition

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
22
Forks
10
Avg merge
1d 4h
Merged PRs (30d)
7

Description

https://github.com/JuliaMath/Infinities.jl/blob/489b68b594f436f6b068c222939c9f537d20b928/src/cardinality.jl#L192

Aqua flags this method as potential type-piracy (see https://github.com/JuliaTesting/Aqua.jl/issues/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 `ℵ₀`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.