Skip to content

Commit 0279a02

Browse files
authored
Test on Julia v1.7 (#89)
* Test on Julia v1.7 * Update InfiniteLinearAlgebra.jl
1 parent b86a915 commit 0279a02

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
matrix:
1212
version:
1313
- '1.6'
14+
- '^1.7.0-0'
1415
os:
1516
- ubuntu-latest
1617
- macOS-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "InfiniteLinearAlgebra"
22
uuid = "cde9dba0-b1de-11e9-2c62-0bab9446c55c"
3-
version = "0.6.0"
3+
version = "0.6.1"
44

55
[deps]
66
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"

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)