aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/output_selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/output_selection.cpp')
-rw-r--r--tests/unit_tests/output_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/output_selection.cpp b/tests/unit_tests/output_selection.cpp
index cff509451..20dc58e03 100644
--- a/tests/unit_tests/output_selection.cpp
+++ b/tests/unit_tests/output_selection.cpp
@@ -206,7 +206,7 @@ TEST(select_outputs, same_distribution)
for (size_t i = 0; i < chain_picks.size(); ++i)
chain_norm[i * 100 / chain_picks.size()] += chain_picks[i];
- double max_dev = 0.0, avg_dev = 0.0;
+ double avg_dev = 0.0;
for (size_t i = 0; i < 100; ++i)
{
const double diff = (double)output_norm[i] - (double)chain_norm[i];