fix column structure for print_group() => issue #5

This commit is contained in:
Mario Fink 2021-01-27 09:07:21 +01:00
parent c54784bb5b
commit 855cd3adf6
2 changed files with 2 additions and 12 deletions

View File

@ -797,19 +797,8 @@ void tdm_reaper::print_group(std::string &id, const char* filename, bool include
fou<<allchns.at(chi).at(row);
}
}
else
{
if ( sep == ' ' )
{
fou<<std::setw(width)<<std::left<<"";
}
else
{
fou<<sep;
}
}
if ( chi+1 < chngrp.channels_.size() ) fou<<sep;
if ( chi+1 < chngrp.channels_.size() && sep != ' ' ) fou<<sep;
}
fou<<"\n";
}

View File

@ -54,6 +54,7 @@ class tdm_reaper
// tdm channels
std::map<std::string,tdm_channel> tdmchannels_;
std::map<std::string,std::vector<tdm_datatype>> tdmchannels_data_;
// submatrices and local_columns
std::map<std::string,submatrix> submatrices_;