Skip to content

Commit

Permalink
Removes extra tabs in dist.shared print
Browse files Browse the repository at this point in the history
Issue mothur#34
  • Loading branch information
mothur-westcott committed Jun 17, 2015
1 parent 0494a89 commit 2ed7551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/commands/matrixoutputcommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ void MatrixOutputCommand::printSims(ostream& out, vector< vector<double> >& simM
if (output == "lt") {
out << simMatrix.size() << endl;
for (int b = 0; b < simMatrix.size(); b++) {
out << lookup[b]->getGroup() << '\t';
out << lookup[b]->getGroup();
for (int n = 0; n < b; n++) {
out << simMatrix[b][n] << '\t';
out << '\t' << simMatrix[b][n];
}
out << endl;
}
Expand All @@ -473,9 +473,9 @@ void MatrixOutputCommand::printSims(ostream& out, vector< vector<double> >& simM
}else{
out << simMatrix.size() << endl;
for (int b = 0; b < simMatrix.size(); b++) {
out << lookup[b]->getGroup() << '\t';
out << lookup[b]->getGroup();
for (int n = 0; n < simMatrix[b].size(); n++) {
out << simMatrix[b][n] << '\t';
out << '\t' << simMatrix[b][n];
}
out << endl;
}
Expand Down

0 comments on commit 2ed7551

Please sign in to comment.