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 8a21f5a commit 0bddc3aCopy full SHA for 0bddc3a
stdlib/LinearAlgebra/test/symmetric.jl
@@ -89,7 +89,7 @@ end
89
@test (-Symmetric(asym))::typeof(Symmetric(asym)) == -asym
90
@test (-Hermitian(aherm))::typeof(Hermitian(aherm)) == -aherm
91
@test (-Symmetric([true true; false false]))::Symmetric{Int,Matrix{Int}} == [-1 -1; -1 0]
92
- @test (-Symmetric([true false; true false]))::Symmetric{Int,Matrix{Int}} == [-1 0; 0 0]
+ @test (-Hermitian([true false; true false]))::Hermitian{Int,Matrix{Int}} == [-1 0; 0 0]
93
end
94
95
@testset "Addition and subtraction for Symmetric/Hermitian matrices" begin
0 commit comments