Skip to content

Commit

Permalink
actually test the resize, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Jan 30, 2024
1 parent cbb8639 commit 010ca9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LinearMaps"
uuid = "7a12625a-238d-50fd-b39a-03d52299707e"
version = "3.11.1"
version = "3.11.2"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
6 changes: 4 additions & 2 deletions test/nontradaxes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ using Test, LinearMaps, LinearAlgebra, BlockArrays
D1 = rand(4,5)
D2 = rand(5,3)
D3 = rand(3,6)
D4 = rand(6,6)
A1 = PseudoBlockMatrix(D1, [1,3], [2,3])
A2 = PseudoBlockMatrix(D2, [2,3], [2,1])
A3 = PseudoBlockMatrix(D3, [2,1], [3,2,1])
A4 = PseudoBlockMatrix(D4, [3,2,1], [3,2,1])
u = rand(6)
x = PseudoBlockVector(u, [3,2,1])
L = LinearMap(A1) * LinearMap(A2) * LinearMap(A3)
L = LinearMap(A1) * LinearMap(A2) * LinearMap(A3) * LinearMap(A4)
y = L * x
v = Vector(y)
@test v D1*(D2*(D3*u))
@test v D1*(D2*(D3*(D4*u)))
end

0 comments on commit 010ca9c

Please sign in to comment.