Skip to content

Commit 21894a4

Browse files
Use shift-inverse in tests
1 parent 180f5cd commit 21894a4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/ext-test/cpu/arbitrary_precision/arbitrary_precision.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
L = liouvillian(H, c_ops)
4444
L_big = liouvillian(H_big, c_ops_big)
4545

46-
vals, vecs = eigenstates(L; sparse = true, eigvals = 6, krylovdim = 20)
47-
vals_big, vecs_big = eigenstates(L_big; sparse = true, eigvals = 6, krylovdim = 20)
46+
vals, vecs = eigenstates(L; sparse = true, sigma = 0.01, eigvals = 6, krylovdim = 20)
47+
vals_big, vecs_big = eigenstates(L_big; sparse = true, sigma = 0.01, eigvals = 6, krylovdim = 20)
4848

4949
# Align eigenvalues
5050
idxs = [findmin(abs.(vals_big .- val))[2] for val in vals]

test/runtests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ using Test
22
using TestItemRunner
33
using Pkg
44

5-
const GROUP_LIST =
6-
String["All", "Core", "Code-Quality", "AutoDiff_Ext", "Makie_Ext", "CUDA_Ext", "Arbitrary-Precision"]
5+
const GROUP_LIST = String["All", "Core", "Code-Quality", "AutoDiff_Ext", "Makie_Ext", "CUDA_Ext", "Arbitrary-Precision"]
76

87
const GROUP = get(ENV, "GROUP", "All")
98
(GROUP in GROUP_LIST) || throw(ArgumentError("Unknown GROUP = $GROUP\nThe allowed groups are: $GROUP_LIST\n"))

0 commit comments

Comments
 (0)