Skip to content

Commit 010ca9c

Browse files
committed
actually test the resize, bump version
1 parent cbb8639 commit 010ca9c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "LinearMaps"
22
uuid = "7a12625a-238d-50fd-b39a-03d52299707e"
3-
version = "3.11.1"
3+
version = "3.11.2"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

test/nontradaxes.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,15 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
7474
D1 = rand(4,5)
7575
D2 = rand(5,3)
7676
D3 = rand(3,6)
77+
D4 = rand(6,6)
7778
A1 = PseudoBlockMatrix(D1, [1,3], [2,3])
7879
A2 = PseudoBlockMatrix(D2, [2,3], [2,1])
7980
A3 = PseudoBlockMatrix(D3, [2,1], [3,2,1])
81+
A4 = PseudoBlockMatrix(D4, [3,2,1], [3,2,1])
8082
u = rand(6)
8183
x = PseudoBlockVector(u, [3,2,1])
82-
L = LinearMap(A1) * LinearMap(A2) * LinearMap(A3)
84+
L = LinearMap(A1) * LinearMap(A2) * LinearMap(A3) * LinearMap(A4)
8385
y = L * x
8486
v = Vector(y)
85-
@test v D1*(D2*(D3*u))
87+
@test v D1*(D2*(D3*(D4*u)))
8688
end

0 commit comments

Comments
 (0)