Skip to content

Commit a26b85a

Browse files
wrong type check
1 parent cc01b00 commit a26b85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ end
266266
@test ArrayInterface.lu_instance(A) isa typeof(lu(A))
267267
@test ArrayInterface.qr_instance(A) isa typeof(qr(A))
268268

269-
if !(eltype(A) isa BigFloat)
269+
if !(eltype(A) <: BigFloat)
270270
@test ArrayInterface.bunchkaufman_instance(A) isa typeof(bunchkaufman(A' * A))
271271
@test ArrayInterface.cholesky_instance(A) isa typeof(cholesky(A' * A))
272272
@test ArrayInterface.ldlt_instance(A) isa typeof(ldlt(SymTridiagonal(A' * A)))

0 commit comments

Comments
 (0)