]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix format in CompressedSparsityPattern::print.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Jul 2008 17:34:48 +0000 (17:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 Jul 2008 17:34:48 +0000 (17:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@16467 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/compressed_sparsity_pattern.cc

index bf48e0818a74a87da6723d9ae03cc3b1d64de0d2..972104ea0425912d442b69ee645f6afae6f34155 100644 (file)
@@ -337,14 +337,14 @@ 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 << std::endl;
+      out << ']' << std::endl;
     }
 
   AssertThrow (out, ExcIO());

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.