]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adjust print() format.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Jul 2008 17:54:43 +0000 (17:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Jul 2008 17:54:43 +0000 (17:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@16473 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/compressed_set_sparsity_pattern.cc
deal.II/lac/source/compressed_sparsity_pattern.cc

index 1a17d19548038add51504896da1b80d8c92bfd8c..3b31173695171e1b4f8adf4dd24ca98330fd44ac 100644 (file)
@@ -172,12 +172,12 @@ CompressedSetSparsityPattern::print (std::ostream &out) const
 
   for (unsigned int row=0; row<rows; ++row)
     {
-      out << '[' << row << ' ';
+      out << '[' << row;
       
       for (std::set<unsigned int>::const_iterator
              j=lines[row].entries.begin();
            j != lines[row].entries.end(); ++j)
-        out << *j << ' ';
+        out << ',' << *j;
 
       out << ']' << std::endl;
     }
index 972104ea0425912d442b69ee645f6afae6f34155..44006ffcfcf93550b7555c7b91278932a736aa5e 100644 (file)
@@ -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<unsigned int>::const_iterator
              j=lines[row].entries.begin();
            j != lines[row].entries.end(); ++j)
-        out << *j << ' ';
+        out << ',' << *j;
 
       out << ']' << std::endl;
     }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.