From: bangerth Date: Thu, 31 Jul 2008 17:54:43 +0000 (+0000) Subject: Adjust print() format. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82c4a1df77f0f2a5097d8fd5462adca70eb01ffb;p=dealii-svn.git Adjust print() format. git-svn-id: https://svn.dealii.org/trunk@16473 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/compressed_set_sparsity_pattern.cc b/deal.II/lac/source/compressed_set_sparsity_pattern.cc index 1a17d19548..3b31173695 100644 --- a/deal.II/lac/source/compressed_set_sparsity_pattern.cc +++ b/deal.II/lac/source/compressed_set_sparsity_pattern.cc @@ -172,12 +172,12 @@ CompressedSetSparsityPattern::print (std::ostream &out) const for (unsigned int row=0; row::const_iterator j=lines[row].entries.begin(); j != lines[row].entries.end(); ++j) - out << *j << ' '; + out << ',' << *j; out << ']' << std::endl; } diff --git a/deal.II/lac/source/compressed_sparsity_pattern.cc b/deal.II/lac/source/compressed_sparsity_pattern.cc index 972104ea04..44006ffcfc 100644 --- a/deal.II/lac/source/compressed_sparsity_pattern.cc +++ b/deal.II/lac/source/compressed_sparsity_pattern.cc @@ -337,12 +337,12 @@ CompressedSparsityPattern::print (std::ostream &out) const if (lines[row].cache_entries != 0) lines[row].flush_cache (); - out << '[' << row << ' '; + out << '[' << row; for (std::vector::const_iterator j=lines[row].entries.begin(); j != lines[row].entries.end(); ++j) - out << *j << ' '; + out << ',' << *j; out << ']' << std::endl; }