Skip to content

Commit bb648e4

Browse files
committed
Fix test
1 parent 3fa31c5 commit bb648e4

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
@@ -967,6 +967,7 @@ end
967967
end
968968

969969
@testset "indexing checks" begin
970+
P = [1 2; 3 4]
970971
@testset "getindex" begin
971972
U = UnitUpperTriangular(P)
972973
@test_throws BoundsError U[0,0]
@@ -989,7 +990,6 @@ end
989990
@test_throws BoundsError L[BandIndex(1,0)]
990991
end
991992
@testset "setindex!" begin
992-
P = [1 2; 3 4]
993993
A = SizedArrays.SizedArray{(2,2)}(P)
994994
M = fill(A, 2, 2)
995995
U = UnitUpperTriangular(M)

0 commit comments

Comments
 (0)