From 7a64406773d457c9ef0a18efa36514498e063305 Mon Sep 17 00:00:00 2001 From: dvdgrgrtt Date: Tue, 26 Oct 2021 17:00:13 +0200 Subject: [PATCH] Fix nr_phy_test printed metrics Some tables displayed the min value twice instead of min and max. --- test/phy/nr_phy_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/phy/nr_phy_test.cc b/test/phy/nr_phy_test.cc index c6eb3ff30..fdf72bb12 100644 --- a/test/phy/nr_phy_test.cc +++ b/test/phy/nr_phy_test.cc @@ -265,7 +265,7 @@ int main(int argc, char** argv) "EPRE (dB)", metrics.gnb_stack.pucch.epre_db_avg, metrics.gnb_stack.pucch.epre_db_min, - metrics.gnb_stack.pucch.epre_db_min); + metrics.gnb_stack.pucch.epre_db_max); srsran::console(" | %10s | %+10.2f | %+10.2f | %+10.2f |\n", "RSRP (dB)", metrics.gnb_stack.pucch.rsrp_db_avg, @@ -332,7 +332,7 @@ int main(int argc, char** argv) "EPRE (dB)", metrics.gnb_stack.pusch.epre_db_avg, metrics.gnb_stack.pusch.epre_db_min, - metrics.gnb_stack.pusch.epre_db_min); + metrics.gnb_stack.pusch.epre_db_max); srsran::console(" | %10s | %+10.2f | %+10.2f | %+10.2f |\n", "RSRP (dB)", metrics.gnb_stack.pusch.rsrp_db_avg,