diff --git a/libs/core/testing/src/performance.cpp b/libs/core/testing/src/performance.cpp index 357af43516b..0227a776785 100644 --- a/libs/core/testing/src/performance.cpp +++ b/libs/core/testing/src/performance.cpp @@ -144,8 +144,8 @@ average: {{average(elapsed)}}{{^-last}} average += val; } strm << "\n ],\n"; - strm << std::scientific << R"( "average": )"<< average / series - << "\n"; + strm << std::scientific << R"( "average": )" + << average / series << "\n"; strm << " }"; ++outputs; } diff --git a/tests/performance/local/future_overhead_report.cpp b/tests/performance/local/future_overhead_report.cpp index 3744e72b408..0212360596b 100644 --- a/tests/performance/local/future_overhead_report.cpp +++ b/tests/performance/local/future_overhead_report.cpp @@ -167,7 +167,7 @@ int hpx_main(variables_map& vm) const std::uint64_t count = vm["futures"].as(); hpx::util::perftests_init(vm); - + if (HPX_UNLIKELY(0 == count)) throw std::logic_error("error: count of 0 futures specified\n");