From f9d3414716552a594753d79f1bd4fc4e09f891a5 Mon Sep 17 00:00:00 2001 From: Marios Papachristou Date: Tue, 11 Jan 2022 12:21:58 +0200 Subject: [PATCH] Fix metric reporting (#196) Fix metric reporting in exponential sampling tests. --- test/logconcave_sampling_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/logconcave_sampling_test.cpp b/test/logconcave_sampling_test.cpp index 258be61fb..abe9380fe 100644 --- a/test/logconcave_sampling_test.cpp +++ b/test/logconcave_sampling_test.cpp @@ -816,7 +816,7 @@ void benchmark_polytope_linear_program_optimization( std::cerr << "Min LP Value: " << f_lp(minimum) << std::endl; std::cerr << "Argmin: " << minimum.getCoefficients().transpose() << std::endl; std::cerr << "Average ETA: " << ETA / (NT) num_phases << std::endl; - std::cerr << "Average Time per Independent sample: " << total_min_ess / ETA << std::endl; + std::cerr << "Average Time per Independent sample: " << ETA / total_min_ess << std::endl; std::cerr << "Average Max PSRF: " << total_max_psrf / (NT) num_phases << std::endl; std::cerr << "Average Min ESS: " << total_min_ess / (NT) num_phases << std::endl; std::cerr << "Average number of reflections: " <<