Skip to content

Commit 5447151

Browse files
authored
Rename testset to avoid that it's overwritten by ReTest (#396)
* Rename testset to avoid that it's overwritten by ReTest * Fix test
1 parent d90910e commit 5447151

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/hamiltonian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ end
3838
end
3939
end
4040

41-
@testset "Metric" begin
41+
@testset "Energy" begin
4242
n_tests = 10
4343

4444
for T in [Float32, Float64]

test/metric.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ using ReTest, Random, AdvancedHMC
1010
DiagEuclideanMetric((D, n_chains)),
1111
# DenseEuclideanMetric((D, n_chains)) # not supported ATM
1212
]
13-
r = rand(rng, metric)
13+
r = rand(rng, metric, GaussianKinetic())
1414
all_same = true
1515
for i = 2:n_chains
1616
all_same = all_same && r[:, i] == r[:, 1]

0 commit comments

Comments
 (0)