From cf84c06fa1797d6adee3cb18ba990cd67457c6bb Mon Sep 17 00:00:00 2001 From: Javier Arribas Date: Thu, 13 Sep 2018 12:20:15 +0200 Subject: [PATCH] Enable accuracy computation if static_scenario flag is enabled in position test --- src/tests/system-tests/position_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/system-tests/position_test.cc b/src/tests/system-tests/position_test.cc index 7d66adfc3..85017b1ab 100644 --- a/src/tests/system-tests/position_test.cc +++ b/src/tests/system-tests/position_test.cc @@ -613,7 +613,7 @@ void PositionSystemTest::check_results() { stm << "Configuration file: " << FLAGS_config_file_ptest << std::endl; } - if (FLAGS_config_file_ptest.empty()) + if (FLAGS_static_scenario) { stm << "---- ACCURACY ----" << std::endl; stm << "2DRMS = " << 2 * sqrt(sigma_E_2_accuracy + sigma_N_2_accuracy) << " [m]" << std::endl;