spectrum: Avoid newline in SpectrumValue ostream operator
The ostream operator<< for SpectrumValue has a newline, resulting in an extra line in log output.
For instance, logging LteUePhy::ReportDataInterference()
with an NS_LOG_FUNCTION(this << sinr);
will print lines like this:
+0.502999999s 1 LteUePhy:ReportDataInterference(0x562c4b249990, 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20
)
After applying this patch, the same example prints:
+0.502999999s 1 LteUePhy:ReportDataInterference(0x560b17cfd990, 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20 3.16228e-20
3.16228e-20)