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 59268fc commit aa1904eCopy full SHA for aa1904e
test/basictests.jl
@@ -19,10 +19,12 @@ b2 = rand(n);
19
x2 = zero(b);
20
# Complex systems + mismatch types with eltype(tol)
21
A3 = (A .+ rand(n) .* im) .|> ComplexF32;
22
+# Make sure A3 is posdef symmetric (some solvers require this, like CG)
23
+A3 = A3 + A3' + 100 * I
24
b3 = rand(n) .|> ComplexF32;
25
x3 = zero(b) .|> ComplexF32;
26
# A4 is similar to A3; created to test cache reuse
-A4 = (A .+ rand(n) .* im) .|> ComplexF32;
27
+A4 = A3 / 2;
28
b4 = b3 / 4 .|> ComplexF32;
29
x4 = zero(b) .|> ComplexF32;
30
0 commit comments