Skip to content

Commit 3efec6a

Browse files
committed
Test some unrolled methods up to size 8 instead of 14.
1 parent 41aabd1 commit 3efec6a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/det.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
@test det(Mtag) == det(Array(Mtag))
2525
end
2626

27-
# lu-based (sz in 5:14) and fallback (sz > 15)
28-
for sz in (5, 14, 15), typ in (Float64, Complex{Float64})
27+
# lu-based (sz up to 14) and fallback (sz >= 15)
28+
for sz in (5, 8, 15), typ in (Float64, Complex{Float64})
2929
A = rand(typ, sz, sz)
3030
SA = SMatrix{sz,sz,typ}(A)
3131
@test det(A) det(SA)

test/inv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ end
9090
@test inv(SMatrix{5,5}(m))::StaticMatrix inv(m)
9191
end
9292

93-
@testset "Matrix inverse ($typ, $sz×$sz)" for sz in (5, 14, 15), typ in (Float64, Complex{Float64})
93+
@testset "Matrix inverse ($typ, $sz×$sz)" for sz in (5, 8, 15), typ in (Float64, Complex{Float64})
9494
A = rand(typ, sz, sz)
9595
SA = SMatrix{sz,sz,typ}(A)
9696
@test inv(A) inv(SA)

test/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using StaticArrays, Compat.Test
22

33
@testset "Solving linear system" begin
4-
@testset "Problem size: $n x $n. Matrix type: $m. Element type: $elty" for n in (1,2,3,4,5,14,15),
4+
@testset "Problem size: $n x $n. Matrix type: $m. Element type: $elty" for n in (1,2,3,4,5,8,15),
55
(m, v) in ((SMatrix{n,n}, SVector{n}), (MMatrix{n,n}, MVector{n})),
66
elty in (Float64, Int)
77

@@ -18,7 +18,7 @@ using StaticArrays, Compat.Test
1818
end
1919

2020
@testset "Solving linear system (multiple RHS)" begin
21-
@testset "Problem size: $n x $n. Matrix type: $m1. Element type: $elty" for n in (1,2,3,4,5,14,15),
21+
@testset "Problem size: $n x $n. Matrix type: $m1. Element type: $elty" for n in (1,2,3,4,5,8,15),
2222
(m1, m2) in ((SMatrix{n,n}, SMatrix{n,2}), (MMatrix{n,n}, MMatrix{n,2})),
2323
elty in (Float64, Int)
2424

0 commit comments

Comments
 (0)