@@ -650,12 +650,18 @@ end
650
650
651
651
Ar2c = reinterpret (reshape, Complex{Float64}, view (rand (2 , 5 , 7 ), :, 2 : 4 , 3 : 5 ));
652
652
@test @inferred (ArrayInterface. strides (Ar2c)) === (StaticInt (1 ), 5 )
653
+ Ar2c_static = reinterpret (reshape, Complex{Float64}, view (@MArray (rand (2 , 5 , 7 )), :, 2 : 4 , 3 : 5 ));
654
+ @test @inferred (ArrayInterface. strides (Ar2c_static)) === (StaticInt (1 ), StaticInt (5 ))
653
655
654
656
Ac2r = reinterpret (reshape, Float64, view (rand (ComplexF64, 5 , 7 ), 2 : 4 , 3 : 6 ));
655
657
@test @inferred (ArrayInterface. strides (Ac2r)) === (StaticInt (1 ), StaticInt (2 ), 10 )
658
+ Ac2r_static = reinterpret (reshape, Float64, view (@MMatrix (rand (ComplexF64, 5 , 7 )), 2 : 4 , 3 : 6 ));
659
+ @test @inferred (ArrayInterface. strides (Ac2r_static)) === (StaticInt (1 ), StaticInt (2 ), StaticInt (10 ))
656
660
657
661
Ac2t = reinterpret (reshape, Tuple{Float64,Float64}, view (rand (ComplexF64, 5 , 7 ), 2 : 4 , 3 : 6 ));
658
662
@test @inferred (ArrayInterface. strides (Ac2t)) === (StaticInt (1 ), 5 )
663
+ Ac2t_static = reinterpret (reshape, Tuple{Float64,Float64}, view (@MMatrix (rand (ComplexF64, 5 , 7 )), 2 : 4 , 3 : 6 ));
664
+ @test @inferred (ArrayInterface. strides (Ac2t_static)) === (StaticInt (1 ), StaticInt (5 ))
659
665
660
666
end
661
667
end
0 commit comments