Skip to content

Commit

Permalink
Fix #10462 by making the test deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Mar 10, 2015
1 parent 93e4690 commit 760c2a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sparsedir/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ for elty in (Float64, Complex{Float64})

# Factor
@test_throws ArgumentError cholfact(A1)
@test_throws Base.LinAlg.PosDefException cholfact(A1 + A1' - I)
@test_throws Base.LinAlg.PosDefException cholfact(A1 + A1', -1.0)
@test_throws Base.LinAlg.PosDefException cholfact(A1 + A1' - 2eigmax(full(A1 + A1'))I)
@test_throws Base.LinAlg.PosDefException cholfact(A1 + A1', -2eigmax(full(A1 + A1')))
@test_throws Base.LinAlg.ArgumentError ldltfact(A1 + A1' - 2real(A1[1,1])I)
@test_throws Base.LinAlg.ArgumentError ldltfact(A1 + A1', -2real(A1[1,1]))
@test_throws ArgumentError cholfact(A1)
Expand Down

0 comments on commit 760c2a6

Please sign in to comment.