Skip to content

Commit f68e856

Browse files
committed
Fix variable name in testtriag.jl loop
Change `elty1` to `elty2` within the `elty2` loop so that the condition isn't repeated.
1 parent dcf579c commit f68e856

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/testtriag.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function test_triangular(elty1_types)
55
n = 9
66
@testset for elty1 in elty1_types
77
# Begin loop for first Triangular matrix
8-
@testset for (t1, uplo1) in ((UpperTriangular, :U),
8+
@testset for (t1, uplo1) in ((UpperTriangular, :U),.
99
(UnitUpperTriangular, :U),
1010
(LowerTriangular, :L),
1111
(UnitLowerTriangular, :L))
@@ -317,7 +317,7 @@ function test_triangular(elty1_types)
317317
@testset for elty2 in (Float32, Float64, BigFloat, ComplexF32, ComplexF64, Complex{BigFloat}, Int)
318318
# Only test methods for the same element type and a single combination of mixed element types
319319
# to avoid too much compilation
320-
if !(elty1 == elty2 || elty1 (ComplexF32, Int) || elty1 (ComplexF32, Int))
320+
if !(elty1 == elty2 || elty1 (ComplexF32, Int) || elty2 (ComplexF32, Int))
321321
continue
322322
end
323323
@testset for (t2, uplo2) in ((UpperTriangular, :U),

0 commit comments

Comments
 (0)