Skip to content

Commit c20d16d

Browse files
authored
pass through kwds in l/rmul! (#98)
* pass through kwds in l/rmul! * Update test_muladd.jl
1 parent ecedd14 commit c20d16d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ArrayLayouts"
22
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
33
authors = ["Sheehan Olver <[email protected]>"]
4-
version = "0.8.8"
4+
version = "0.8.9"
55

66
[deps]
77
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"

src/lmul.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ const BlasMatRmulMat{StyleA,StyleB,T<:BlasFloat} = Rmul{StyleA,StyleB,<:Abstract
4343

4444
axes(M::MatLmulVec) = (axes(M.A,1),)
4545

46-
lmul(A, B) = materialize(Lmul(A, B))
47-
lmul!(A, B) = materialize!(Lmul(A, B))
48-
rmul!(A, B) = materialize!(Rmul(A, B))
46+
lmul(A, B; kwds...) = materialize(Lmul(A, B); kwds...)
47+
lmul!(A, B; kwds...) = materialize!(Lmul(A, B); kwds...)
48+
rmul!(A, B; kwds...) = materialize!(Rmul(A, B); kwds...)
4949

5050
materialize(L::Lmul) = copy(instantiate(L))
5151

test/test_muladd.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ Random.seed!(0)
321321

322322
@test all(mul(UpperTriangular(A),x) .===
323323
copy(Lmul(UpperTriangular(A),x)) .===
324+
ArrayLayouts.lmul(UpperTriangular(A),x) .===
324325
ArrayLayouts.lmul!(UpperTriangular(A),copy(x)) .===
325326
copyto!(similar(x),Lmul(UpperTriangular(A),x)) .===
326327
UpperTriangular(A)*x .===

0 commit comments

Comments
 (0)