Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang committed Nov 5, 2024
1 parent 6806f40 commit de74b2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const GROUP = get(ENV, "GROUP", "All")

const testdir = dirname(@__FILE__)

include("test_utils.jl")

# Put Core tests in alphabetical order
core_tests = [
"ADOs.jl",
Expand Down Expand Up @@ -38,6 +36,8 @@ if (GROUP == "All") || (GROUP == "Core")

HierarchicalEOM.about()

include(joinpath(testdir, "test_utils.jl"))

for test in core_tests
include(joinpath(testdir, test))
end
Expand All @@ -55,5 +55,6 @@ if (GROUP == "CUDA_Ext")# || (GROUP == "All")
HierarchicalEOM.about()
CUDA.versioninfo()

include(joinpath(testdir, "test_utils.jl"))
include(joinpath(testdir, "gpu", "CUDAExt.jl"))
end
2 changes: 1 addition & 1 deletion test/test_utils.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function _is_Matrix_approx(M1, M2; atol = 1.0e-6)
function _is_Matrix_approx(M1::QuantumObject, M2; atol = 1.0e-6)
s1 = size(M1)
s2 = size(M2)
if s1 == s2
Expand Down

0 comments on commit de74b2a

Please sign in to comment.