Skip to content

Commit a99e4ac

Browse files
committed
Vary b in test for solve
1 parent c0e674e commit a99e4ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ using StaticArrays, Base.Test
55
(m, v) in ((SMatrix{n,n}, SVector{n}), (MMatrix{n,n}, MVector{n})),
66
elty in (Float64, Int)
77

8-
A = elty.(rand(-99:2:99,n,n))
9-
b = 2*A*ones(elty,n)
8+
A = elty.(rand(-99:2:99, n, n))
9+
b = A * elty.(rand(2:5, n))
1010
@test m(A)\v(b) A\b
1111
end
1212

0 commit comments

Comments
 (0)