Skip to content

Commit 988d057

Browse files
committed
Fix test
1 parent ba99c6e commit 988d057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/triangular.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,7 @@ end
945945
end
946946

947947
@testset "indexing checks" begin
948+
P = [1 2; 3 4]
948949
@testset "getindex" begin
949950
U = UnitUpperTriangular(P)
950951
@test_throws BoundsError U[0,0]
@@ -967,7 +968,6 @@ end
967968
@test_throws BoundsError L[BandIndex(1,0)]
968969
end
969970
@testset "setindex!" begin
970-
P = [1 2; 3 4]
971971
A = SizedArrays.SizedArray{(2,2)}(P)
972972
M = fill(A, 2, 2)
973973
U = UnitUpperTriangular(M)

0 commit comments

Comments
 (0)