File tree Expand file tree Collapse file tree
test/genericlinearalgebra Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ GenericFloats = (BigFloat, Complex{BigFloat})
1616 D, V = @constinferred eigh_full (A)
1717 algs = (MatrixFunctionViaEigh (GLA_QRIteration ()),)
1818 @testset " algorithm $alg " for alg in algs
19- expA = similar (A)
20-
21- @constinferred exponential! (copy (A), expA; alg)
19+ expA = @constinferred exponential! (copy (A), expA; alg)
2220 expA2 = @constinferred exponential (A; alg)
2321 @test expA2 ≈ expA
2422
@@ -39,9 +37,7 @@ using GenericSchur
3937 D, V = @constinferred eigh_full (A)
4038 algs = (MatrixFunctionViaEigh (GLA_QRIteration ()),)
4139 @testset " algorithm $alg " for alg in algs
42- expiτA = similar (complex (A))
43-
44- @constinferred exponentiali! (τ, copy (A), expiτA; alg)
40+ expiτA = @constinferred exponentiali! (τ, copy (A), expiτA; alg)
4541 expiτA2 = @constinferred exponentiali (τ, A; alg)
4642 @test expiτA2 ≈ expiτA
4743
You can’t perform that action at this time.
0 commit comments