Skip to content

Commit e96eee4

Browse files
authored
Re-enable the float16 tests (#166)
* Re-enable the float16 tests
1 parent 16b28ce commit e96eee4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/umfpack.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ end
264264
(Float32, Float64),
265265
(Float64, Float64),
266266
(Int, Float64),
267+
(ComplexF16, ComplexF64),
268+
(Float16, Float64),
267269
]
268-
# Remove 16-bit eltypes on Windows due to julia #45736 issue
269-
!Sys.iswindows() && push!(testtypes, (ComplexF16, ComplexF64), (Float16, Float64))
270270

271271
for (Tin, Tout) in testtypes
272272
F = lu(sparse(fill(Tin(1), 1, 1)))
@@ -341,9 +341,7 @@ end
341341
A1 = sparse(increment!([0,4,1,1,2,2,0,1,2,3,4,4]),
342342
increment!([0,4,0,2,1,2,1,4,3,2,1,2]),
343343
[2.,1.,3.,4.,-1.,-3.,3.,9.,2.,1.,4.,2.], 5, 5)
344-
# Remove 16-bit eltypes on Windows due to julia #45736 issue
345-
testtypes = [Float64, ComplexF64, Float32, ComplexF32]
346-
!Sys.iswindows() && push!(testtypes, Float16, ComplexF16)
344+
testtypes = [Float64, ComplexF64, Float32, ComplexF32, Float16, ComplexF16]
347345
for Tv in testtypes
348346
for Ti in Base.uniontypes(UMFPACK.UMFITypes)
349347
A = convert(SparseMatrixCSC{Tv,Ti}, A0)

0 commit comments

Comments
 (0)