Skip to content

Commit 30df805

Browse files
srs-codebotYour Name
authored andcommitted
Merge branch 'next' into agpl_next
2 parents 77908ee + 566d985 commit 30df805

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ For license details, see LICENSE file.
2121
Support
2222
=======
2323

24-
Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srsran-users
24+
Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srslte-users

srsue/src/metrics_stdout.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,7 @@ std::string metrics_stdout::float_to_eng_string(float f, int digits)
246246
}
247247

248248
const double scaled = f * pow(1000.0, -degree);
249-
if (degree != 0) {
250-
return float_to_string(scaled, digits) + factor;
251-
} else {
252-
return float_to_string(scaled, digits) + factor;
253-
}
249+
return float_to_string(scaled, digits) + factor;
254250
}
255251

256252
} // namespace srsue

0 commit comments

Comments
 (0)