File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Random.seed!(1)
4343 @test Matrix (convert (newtype, A)) == Matrix (A)
4444 end
4545 for newtype in [Diagonal, Bidiagonal]
46- @test_throws ArgumentError convert (newtype,A)
46+ @test_throws Union{ ArgumentError,InexactError} convert (newtype,A)
4747 end
4848 A = SymTridiagonal (a, zeros (n- 1 ))
4949 @test Matrix (convert (Bidiagonal,A)) == Matrix (A)
@@ -57,7 +57,7 @@ Random.seed!(1)
5757 @test Matrix (convert (newtype, A)) == Matrix (A)
5858 end
5959 for newtype in [Diagonal, Bidiagonal]
60- @test_throws ArgumentError convert (newtype,A)
60+ @test_throws Union{ ArgumentError,InexactError} convert (newtype,A)
6161 end
6262 A = Tridiagonal (zeros (n- 1 ), [1.0 : n;], fill (1. , n- 1 )) # not morally Diagonal
6363 @test Matrix (convert (Bidiagonal, A)) == Matrix (A)
You can’t perform that action at this time.
0 commit comments