fix column structure for print_group() => issue #5
This commit is contained in:
parent
c54784bb5b
commit
855cd3adf6
@ -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";
|
||||
}
|
||||
|
@ -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_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user