We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3852842 commit ecc8bb7Copy full SHA for ecc8bb7
1 file changed
test/factorizations/projections.jl
@@ -48,6 +48,13 @@ for V in spacelist
48
@test !isantihermitian(ta_approx)
49
@test isantihermitian(ta_approx; atol = 10 * noisefactor) || (T <: Real && t isa DiagonalTensorMap)
50
end
51
+
52
+ @test_throws SpaceMismatch project_hermitian(rand(V1, V1^2))
53
+ @test_throws SpaceMismatch project_antihermitian(rand(V1, V1^2))
54
+ if V1 != V1'
55
+ @test_throws SpaceMismatch project_hermitian(rand(V1, V1'))
56
+ @test_throws SpaceMismatch project_antihermitian(rand(V1, V1'))
57
+ end
58
59
60
@testset "Isometric projections" begin
0 commit comments