diff --git a/Project.toml b/Project.toml index 4af185f..a233f72 100644 --- a/Project.toml +++ b/Project.toml @@ -32,12 +32,12 @@ BlockArrays = "1.0" BlockBandedMatrices = "0.13" DSP = "0.7" FillArrays = "1.0" -Infinities = "0.1.1" +Infinities = "0.1.9" LazyArrays = "2.2.3" -LinearAlgebra = "1.6" -SparseArrays = "1.0" -Statistics = "1.0" -Test = "1.0" +LinearAlgebra = "1" +SparseArrays = "1" +Statistics = "1" +Test = "1" julia = "1.10" [extras] diff --git a/src/infarrays.jl b/src/infarrays.jl index 29668a2..d2914c8 100644 --- a/src/infarrays.jl +++ b/src/infarrays.jl @@ -116,8 +116,6 @@ Base.mapreduce_impl(f, op, A::AbstractArray, ifirst::Integer, ::PosInfinity) = # fix error in show Base.isassigned(A::AbstractArray, i::RealInfinity) = i == ∞ ? isassigned(A, ℵ₀) : false -Base.getindex(A::AbstractArray, i::RealInfinity) = A[convert(Integer, i)] -Base.getindex(A::AbstractCachedVector, i::RealInfinity) = A[convert(Integer, i)] # work around due to RealInfinity appearing from UnitStepRange show_delim_array(io::IO, itr::AbstractArray, op, delim, cl, delim_one, i1, inf::RealInfinity) = @@ -430,4 +428,4 @@ LazyArrays.cache_getindex(::InfiniteCardinal{0}, A::AbstractVector, I, J...) = l LazyArrays.cache_getindex(::InfiniteCardinal{0}, A::CachedVector{<:Any,<:AbstractVector,<:AbstractFill{<:Any,1}}, I::AbstractVector) = LazyArrays.cache_getindex(nothing, A, I) -*(a::AbstractVector, b::AbstractFill{<:Any,2,Tuple{OneTo{Int},OneToInf{Int}}}) = ApplyArray(*,a,b) \ No newline at end of file +*(a::AbstractVector, b::AbstractFill{<:Any,2,Tuple{OneTo{Int},OneToInf{Int}}}) = ApplyArray(*,a,b)