diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6825db64..95c73680 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: fail-fast: false matrix: version: - - '1.10' - - '^1.11.0-0' + - 'lts' + - '1' os: - ubuntu-latest - macOS-latest diff --git a/Project.toml b/Project.toml index 65675d58..306d55c6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "LazyArrays" uuid = "5078a376-72f3-5289-bfd5-ec5146d43c02" -version = "2.2.2" +version = "2.2.3" [deps] ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a" diff --git a/ext/LazyArraysBandedMatricesExt.jl b/ext/LazyArraysBandedMatricesExt.jl index 2ac44f35..0a72aabe 100644 --- a/ext/LazyArraysBandedMatricesExt.jl +++ b/ext/LazyArraysBandedMatricesExt.jl @@ -11,7 +11,7 @@ import LazyArrays: sublayout, symmetriclayout, hermitianlayout, applylayout, cac PaddedColumns, CachedArray, CachedMatrix, LazyLayout, BroadcastLayout, ApplyLayout, paddeddata, resizedata!, broadcastlayout, _broadcastarray2broadcasted, _broadcast_sub_arguments, arguments, call, applybroadcaststyle, simplify, simplifiable, islazy_layout, lazymaterialize, _broadcast_mul_mul, - triangularlayout, AbstractCachedMatrix, _mulbanded_copyto! + triangularlayout, AbstractCachedMatrix, _mulbanded_copyto!, ApplyBandedLayout, BroadcastBandedLayout import Base: BroadcastStyle, similar, copy, broadcasted, getindex, OneTo, oneto, tail, sign, abs import BandedMatrices: bandedbroadcaststyle, bandwidths, isbanded, bandedcolumns, bandeddata, BandedStyle, AbstractBandedLayout, AbstractBandedMatrix, BandedColumns, BandedRows, BandedSubBandedMatrix, @@ -216,9 +216,6 @@ isbanded(M::MulMatrix) = isbanded(Applied(M)) # ApplyBanded ### -struct ApplyBandedLayout{F} <: AbstractLazyBandedLayout end -struct BroadcastBandedLayout{F} <: AbstractLazyBandedLayout end - bandedlayout(::LazyLayout) = LazyBandedLayout() bandedlayout(::ApplyLayout{F}) where F = ApplyBandedLayout{F}() diff --git a/src/LazyArrays.jl b/src/LazyArrays.jl index 7fc893e1..7b812493 100644 --- a/src/LazyArrays.jl +++ b/src/LazyArrays.jl @@ -76,5 +76,8 @@ function _mulbanded_copyto! end abstract type AbstractLazyBandedLayout <: AbstractBandedLayout end struct LazyBandedLayout <: AbstractLazyBandedLayout end +struct ApplyBandedLayout{F} <: AbstractLazyBandedLayout end +struct BroadcastBandedLayout{F} <: AbstractLazyBandedLayout end + end # module