Skip to content

Commit

Permalink
cluster.cc: cluster member output format corrected (closes #40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aysegul Turupcu committed Jan 9, 2018
1 parent 08675f9 commit 946b2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gromos++/programs/cluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ int cluster_analysis(Arguments & args) {
fout << setw(6) << i;
for (size_t j = 0, jto = cluster[i].size(); j != jto; ++j) {
if (j % 10 == 0 && j != 0) fout << "\n ";
fout << setw(6) << cluster[i][j];
fout << " " << setw(7) << cluster[i][j];
}
if ((cluster[i].size()) % 10 != 0) fout << "\n";
fout << "\n";
}
if ((cluster[cluster.size() - 1].size()) % 10 == 0) fout << "\n";
fout << "END\n";
Expand Down

0 comments on commit 946b2bd

Please sign in to comment.