Skip to content
Snippets Groups Projects
Commit 17b0a894 authored by Federico Montesino Pouzols's avatar Federico Montesino Pouzols
Browse files

restore ostream format, 1075545, re #13918

parent 7ca60d62
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ const std::type_info &PeakColumn::get_pointer_type_info() const {
void PeakColumn::print(size_t index, std::ostream &s) const {
Peak &peak = m_peaks[index];
std::ios::fmtflags fflags(s.flags());
if (m_name == "RunNumber")
s << peak.getRunNumber();
else if (m_name == "DetID")
......@@ -152,6 +153,7 @@ void PeakColumn::print(size_t index, std::ostream &s) const {
s << std::fixed << std::setprecision(m_hklPrec) << peak.getL();
} else
s << peak.getValueByColName(m_name);
s.flags(fflags);
}
//-------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment