Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer committed Dec 9, 2019
1 parent d3a448c commit 12f9666
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/svd_generic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export genericsvd
"""
Same as `genericsvd` but saves space by overwriting the input matrix.
"""
function genericsvd!(x)
function genericsvd!(x::AbstractArray{T}) where {T<:Union{BigFloat, BigInt}}
GenericSVD.svd!(x; alg=nothing)
end
function genericsvd!(x::AbstractArray)
GenericSVD.svd!(x)
end
export genericsvd!
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using StableDQMC
using Test, Random, LinearAlgebra


Base.eps(::Type{Complex{Float64}}) = eps(Float64)

@testset "StableDQMC.jl" begin

Expand Down

0 comments on commit 12f9666

Please sign in to comment.