Skip to content

Commit 507cb3b

Browse files
Rename norm to p in tests
1 parent 3142a5e commit 507cb3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/dense.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ Random.seed!(1234323)
5757
@test cond(Mars, Inf) 7.1
5858
end
5959
@testset "Empty matrices" begin
60-
for norm in (1,2,Inf)
60+
for p in (1,2,Inf)
6161
# zero for square (i.e. 0×0) matrices
62-
@test cond(zeros(Int, 0, 0), norm) === 0.0
63-
@test cond(zeros(0, 0), norm) === 0.0
64-
@test cond(zeros(ComplexF64, 0, 0), norm) === 0.0
62+
@test cond(zeros(Int, 0, 0), p) === 0.0
63+
@test cond(zeros(0, 0), p) === 0.0
64+
@test cond(zeros(ComplexF64, 0, 0), p) === 0.0
6565
# error for non-square matrices
6666
for size in ((10,0), (0,10))
67-
@test_throws DimensionMismatch cond(zeros(size...), norm)
67+
@test_throws DimensionMismatch cond(zeros(size...), p)
6868
end
6969
end
7070
end

0 commit comments

Comments
 (0)