Merge branch 'next' into agpl_next

master
Codebot 4 years ago committed by Your Name
commit 30df8052ce

@ -21,4 +21,4 @@ For license details, see LICENSE file.
Support Support
======= =======
Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srsran-users Mailing list: http://www.softwareradiosystems.com/mailman/listinfo/srslte-users

@ -246,11 +246,7 @@ std::string metrics_stdout::float_to_eng_string(float f, int digits)
} }
const double scaled = f * pow(1000.0, -degree); const double scaled = f * pow(1000.0, -degree);
if (degree != 0) { return float_to_string(scaled, digits) + factor;
return float_to_string(scaled, digits) + factor;
} else {
return float_to_string(scaled, digits) + factor;
}
} }
} // namespace srsue } // namespace srsue

Loading…
Cancel
Save