@@ -12,6 +12,7 @@ import BlockBandedMatrices: MemoryLayout, TriangularLayout,
1212 blockrowstop, blockcolstop, ColumnMajor
1313
1414import BlockArrays: blockisequal
15+ import .. check_strided_get
1516
1617@testset " triangular" begin
1718 @testset " triangular BandedBlockBandedMatrix mul" begin
@@ -156,6 +157,7 @@ import BlockArrays: blockisequal
156157 @test unsafe_load (pointer (V)) == A[2 ,4 ]
157158 @test unsafe_load (pointer (V)+ sizeof (Float64)* stride (V,2 )) == A[2 ,5 ]
158159 @test MemoryLayout (typeof (V)) == ColumnMajor ()
160+ check_strided_get (V)
159161
160162 @test size (V) == (5 ,3 )
161163 b = randn (size (V,2 ))
@@ -174,6 +176,7 @@ import BlockArrays: blockisequal
174176 @test unsafe_load (pointer (V)) == A[2 ,5 ]
175177 @test unsafe_load (pointer (V)+ sizeof (Float64)* stride (V,2 )) == A[2 ,6 ]
176178 @test MemoryLayout (typeof (V)) == ColumnMajor ()
179+ check_strided_get (V)
177180
178181 @test size (V) == (5 ,2 )
179182 b = randn (size (V,2 ))
@@ -194,6 +197,8 @@ import BlockArrays: blockisequal
194197 V_22 = view (A, Block (N)[1 : N], Block (N)[1 : N])
195198 @test unsafe_load (pointer (V_22)) == V_22[1 ,1 ] == V[1 ,1 ]
196199 @test strides (V_22) == strides (V) == (1 ,9 )
200+ check_strided_get (V_22)
201+ check_strided_get (V)
197202 b = randn (N)
198203 @test copyto! (similar (b) , MulAdd (V,b)) == copyto! (similar (b) , MulAdd (V_22,b)) ==
199204 Matrix (V)* b ==
0 commit comments