Skip to content

Commit

Permalink
update Aqua, add compats to satisfy; drop unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphAS committed Mar 23, 2024
1 parent dad6f32 commit 5309b2f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
9 changes: 9 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
julia = "1.3"
Aqua = "0.8"
GenericSVD = "0.3"
Libdl = "1"
LinearAlgebra = "1"
Printf = "1"
Random = "1"
SparseArrays = "1"
Test = "1"


[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
2 changes: 1 addition & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using LinearAlgebra: BlasComplex, BlasFloat, BlasReal
using LinearAlgebra: BlasReal
"""
a "safe" version of `floatmin`, such that `1/sfmin` does not overflow.
"""
Expand Down
15 changes: 11 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@ using .TMGlib

using Aqua

Aqua.test_all(GenericSchur; piracy=false)
Aqua.test_all(GenericSchur; piracies=false)

import LinearAlgebra.BLAS.BlasFloat

const verbosity = Ref(0)
_vbst = parse(Int,get(ENV,"TEST_VERBOSITY","0"))
const verbosity = Ref(_vbst)

if parse(Int,get(ENV,"TEST_RESEEDRNG","0")) != 0
let seed = round(Int,1024*rand(RandomDevice()))
@info "rng seed is $seed"
Random.seed!(seed)
end
end

cplxord = t -> (real(t), imag(t))
csort(v) = sort(v, by = cplxord)
Expand All @@ -38,10 +46,9 @@ end

include("wrappers.jl")
include("symtridiag.jl")
include("complex.jl")
include("balance.jl")
include("real.jl")
#include("complex.jl")
include("complex.jl")

include("ordschur.jl")

Expand Down

0 comments on commit 5309b2f

Please sign in to comment.