Skip to content

Commit 4a555b5

Browse files
committed
import unitrange
1 parent 7c058fc commit 4a555b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/InfiniteLinearAlgebra.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import SemiseparableMatrices: AbstractAlmostBandedLayout, _almostbanded_qr!
3939
if VERSION < v"1.6-"
4040
oneto(n) = Base.OneTo(n)
4141
else
42-
import Base: oneto
42+
import Base: oneto, unitrange
4343
end
4444

4545
# BroadcastStyle(::Type{<:BandedMatrix{<:Any,<:Any,<:OneToInf}}) = LazyArrayStyle{2}()

src/blockbanded/blockbanded.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const OneToBlocks = BlockedUnitRange{OneToCumsum}
3333
axes(a::OneToInfBlocks) = (a,)
3434
axes(a::OneToBlocks) = (a,)
3535

36-
Base.unitrange(b::OneToInfBlocks) = first(b):
36+
unitrange(b::OneToInfBlocks) = first(b):
3737

3838

3939
function copy(bc::Broadcasted{<:BroadcastStyle,<:Any,typeof(*),<:Tuple{Ones{T,1,Tuple{OneToInfBlocks}},AbstractArray{V,N}}}) where {N,T,V}

0 commit comments

Comments
 (0)