Skip to content

Commit 88e4c4c

Browse files
committed
Fix test
1 parent 7ce0a7a commit 88e4c4c

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
@@ -935,6 +935,7 @@ end
935935
end
936936

937937
@testset "indexing checks" begin
938+
P = [1 2; 3 4]
938939
@testset "getindex" begin
939940
U = UnitUpperTriangular(P)
940941
@test_throws BoundsError U[0,0]
@@ -957,7 +958,6 @@ end
957958
@test_throws BoundsError L[BandIndex(1,0)]
958959
end
959960
@testset "setindex!" begin
960-
P = [1 2; 3 4]
961961
A = SizedArrays.SizedArray{(2,2)}(P)
962962
M = fill(A, 2, 2)
963963
U = UnitUpperTriangular(M)

0 commit comments

Comments
 (0)