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 dfe5b07 commit cb10fb0Copy full SHA for cb10fb0
test/generics.jl
@@ -22,3 +22,8 @@ for i in 1:length(pmats)
22
@test Matrix(3 * pmats[i]) == Matrix(pmatsa[i])
23
@test Matrix(pmats[i] * 3) == Matrix(pmatsa[i])
24
end
25
+
26
+# issue #123
27
+@test isposdef(PDMat([1.0 0.0; 0.0 1.0]))
28
+@test isposdef(PDiagMat([1.0, 1.0]))
29
+@test isposdef(ScalMat(2, 3.0))
0 commit comments