Skip to content

Commit 9189c57

Browse files
committed
Update InfiniteLinearAlgebra.jl
1 parent 0ed713c commit 9189c57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/InfiniteLinearAlgebra.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ else
4545
import Base: oneto, unitrange
4646
end
4747

48+
if VERSION  v"1.7-"
49+
LinearAlgebra._cut_B(x::AbstractVector, r::InfUnitRange) = x
50+
LinearAlgebra._cut_B(X::AbstractMatrix, r::InfUnitRange) = X
51+
end
52+
4853
# BroadcastStyle(::Type{<:BandedMatrix{<:Any,<:Any,<:OneToInf}}) = LazyArrayStyle{2}()
4954

5055
function ArrayLayouts._power_by_squaring(_, ::NTuple{2,InfiniteCardinal{0}}, A::AbstractMatrix{T}, p::Integer) where T

0 commit comments

Comments
 (0)