Skip to content

Commit

Permalink
Guard against accidental singularity in a sparse linalg test. (#25218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha0 authored and andreasnoack committed Dec 22, 2017
1 parent 0b27900 commit 058716e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sparse/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1672,8 +1672,8 @@ end

@testset "sparse matrix cond" begin
local A = sparse(reshape([1.0], 1, 1))
Ac = sprandn(20, 20,.5) + im* sprandn(20, 20,.5)
Ar = sprandn(20, 20,.5)
Ac = sprandn(20, 20,.5) + im*sprandn(20, 20,.5)
Ar = sprandn(20, 20,.5) + eps()*I
@test cond(A, 1) == 1.0
# For a discussion of the tolerance, see #14778
if Base.USE_GPL_LIBS
Expand Down

2 comments on commit 058716e

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.