We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c22b86d commit 223d86fCopy full SHA for 223d86f
.github/workflows/ci.yml
@@ -13,6 +13,7 @@ jobs:
13
matrix:
14
version:
15
- '1.10'
16
+ - '^1.11.0-0'
17
os:
18
- ubuntu-latest
19
- macOS-latest
test/infinitearrays.jl
@@ -24,7 +24,11 @@ module InfiniteArrays
24
Base.axes(r::OneToInf) = (r,)
25
Base.first(r::OneToInf{T}) where {T} = oneunit(T)
26
27
- Base.oneto(::InfiniteCardinal{0}) = OneToInf()
+ if VERSION < v"1.11-"
28
+ Base.oneto(::InfiniteCardinal{0}) = OneToInf()
29
+ else
30
+ Base.unchecked_oneto(::InfiniteCardinal{0}) = OneToInf()
31
+ end
32
33
Base.axes(::AbstractInfUnitRange) = (OneToInf(),)
34
0 commit comments