Skip to content

Commit 6073f28

Browse files
authored
Ease inference in Bidiagonal divmul tests (#1273)
This speeds up the tests by a few seconds.
1 parent 30cb5d6 commit 6073f28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/bidiag.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,9 @@ Random.seed!(1)
362362
@test (x\T)::typediv x\TM
363363
@test (T/x)::typediv TM/x
364364
if !isa(x, Number)
365-
@test Array((T\x)::typediv2) Array(TM\x)
366-
@test Array((x/T)::typediv2) Array(x/TM)
365+
U = T.uplo == 'U' ? UpperTriangular : LowerTriangular
366+
@test Array((T\x)::typediv2) Array(U(TM)\x)
367+
@test Array((x/T)::typediv2) Array(x/U(TM))
367368
end
368369
return nothing
369370
end

0 commit comments

Comments
 (0)