From 9963cabfd925fc756293f7df07f8ec66df53f223 Mon Sep 17 00:00:00 2001 From: DanielVandH Date: Wed, 10 Jul 2024 16:01:19 +0100 Subject: [PATCH] Change signature --- Project.toml | 2 +- ext/LazyArraysBandedMatricesExt.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index ef8c348..e46a534 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "LazyArrays" uuid = "5078a376-72f3-5289-bfd5-ec5146d43c02" -version = "2.1.6" +version = "2.1.7" [deps] ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a" diff --git a/ext/LazyArraysBandedMatricesExt.jl b/ext/LazyArraysBandedMatricesExt.jl index b434ce4..dc1ff8b 100644 --- a/ext/LazyArraysBandedMatricesExt.jl +++ b/ext/LazyArraysBandedMatricesExt.jl @@ -155,7 +155,7 @@ function similar(M::MulAdd{<:DualLayout{<:PaddedRows}, <:BandedLayouts}, ::Type{ trans(Vcat(Vector{T}(undef, n), Zeros{T}(size(A,1)-n))) end -function materialize!(M::MatMulVecAdd{<:BandedLayouts,<:Union{PaddedColumns,PaddedLayout},<:Union{PaddedColumns,PaddedLayout}}) +function materialize!(M::MatMulVecAdd{<:BandedLayouts,<:AbstractPaddedLayout,<:AbstractPaddedLayout}) α,A,x,β,y = M.α,M.A,M.B,M.β,M.C length(y) == size(A,1) || throw(DimensionMismatch()) length(x) == size(A,2) || throw(DimensionMismatch())