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 92d6d7f commit 4ab61efCopy full SHA for 4ab61ef
test/eigen.jl
@@ -169,5 +169,8 @@
169
@test vals::SVector ≈ sort(m_d)
170
@test eigvals(m) ≈ sort(m_d)
171
@test eigvals(Hermitian(m)) ≈ sort(m_d)
172
+
173
+ # not Hermitian
174
+ @test_throws Exception eig(@SMatrix randn(4,4))
175
end
176
test/solve.jl
@@ -24,4 +24,10 @@
24
b = A*ones(elty,n)
25
@test m(A)\v(b) ≈ A\b
26
end =#
27
28
+ m1 = @SMatrix eye(5)
29
+ m2 = @SMatrix eye(2)
30
+ v = @SVector ones(4)
31
+ @test_throws DimensionMismatch m1\v
32
+ @test_throws DimensionMismatch m1\m2
33
0 commit comments