File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +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 = @constinferred exponential! (copy (A), expA ; alg)
19+ expA = @constinferred exponential! (copy (A); alg)
2020 expA2 = @constinferred exponential (A; alg)
2121 @test expA2 ≈ expA
2222
@@ -37,7 +37,7 @@ using GenericSchur
3737 D, V = @constinferred eigh_full (A)
3838 algs = (MatrixFunctionViaEigh (GLA_QRIteration ()),)
3939 @testset " algorithm $alg " for alg in algs
40- expiτA = @constinferred exponentiali! (τ, copy (A), expiτA ; alg)
40+ expiτA = @constinferred exponentiali! (τ, copy (A); alg)
4141 expiτA2 = @constinferred exponentiali (τ, A; alg)
4242 @test expiτA2 ≈ expiτA
4343
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ GenericFloats = (BigFloat, Complex{BigFloat})
1616 algs = (MatrixFunctionViaEig (GS_QRIteration ()),)
1717 expA_LA = @constinferred exponential (A)
1818 @testset " algorithm $alg " for alg in algs
19- expA = similar (A)
20-
21- @constinferred exponential! (copy (A), expA)
19+ expA = @constinferred exponential! (copy (A))
2220 expA2 = @constinferred exponential (A; alg = alg)
2321 @test expA ≈ expA_LA
2422 @test expA2 ≈ expA
3836 D, V = @constinferred eig_full (A)
3937 algs = (MatrixFunctionViaEig (GS_QRIteration ()),)
4038 @testset " algorithm $alg " for alg in algs
41- expiτA = similar (complex (A))
42-
43- @constinferred exponentiali! (τ, copy (A), expiτA)
39+ expiτA = @constinferred exponentiali! (τ, copy (A))
4440 expiτA2 = @constinferred exponentiali (τ, A; alg)
4541 @test expiτA2 ≈ expiτA
4642
You can’t perform that action at this time.
0 commit comments