@@ -314,10 +314,10 @@ function test_triangular(elty1_types)
314
314
@test ((A1 \ A1):: t1 ) ≈ M1 \ M1
315
315
316
316
# Begin loop for second Triangular matrix
317
- @testset for elty2 in (Float32, Float64, BigFloat, ComplexF32, ComplexF64, Complex{BigFloat}, Int )
317
+ @testset for elty2 in push! ( Set (( ComplexF32, Int)), elty1 )
318
318
# Only test methods for the same element type and a single combination of mixed element types
319
319
# to avoid too much compilation
320
- if ! ( elty1 == elty2 || elty1 ∈ (ComplexF32, Int) || elty1 ∈ ( ComplexF32, Int) )
320
+ if elty1 ∉ (elty2, ComplexF32, Int)
321
321
continue
322
322
end
323
323
@testset for (t2, uplo2) in ((UpperTriangular, :U ),
@@ -409,10 +409,10 @@ function test_triangular(elty1_types)
409
409
end
410
410
end
411
411
412
- @testset for eltyB in (Float32, Float64, BigFloat, ComplexF32, ComplexF64, Complex{BigFloat} )
412
+ @testset for eltyB in push! ( Set (( ComplexF32,)), elty1 )
413
413
# Only test methods for the same element type and a single combination of mixed element types
414
414
# to avoid too much compilation
415
- if ! ( elty1 == eltyB || elty1 ∈ (ComplexF32, Int) || eltyB ∈ ( ComplexF32, Int) )
415
+ if elty1 ∉ (eltyB, ComplexF32, Int)
416
416
continue
417
417
end
418
418
0 commit comments