From 3f1df63b1e94de06812279d87525541ffe6fad1e Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 31 Jul 2008 17:34:48 +0000 Subject: [PATCH] Fix format in CompressedSparsityPattern::print. git-svn-id: https://svn.dealii.org/trunk@16467 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/compressed_sparsity_pattern.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/source/compressed_sparsity_pattern.cc b/deal.II/lac/source/compressed_sparsity_pattern.cc index bf48e0818a..972104ea04 100644 --- a/deal.II/lac/source/compressed_sparsity_pattern.cc +++ b/deal.II/lac/source/compressed_sparsity_pattern.cc @@ -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::const_iterator j=lines[row].entries.begin(); j != lines[row].entries.end(); ++j) out << *j << ' '; - out << std::endl; + out << ']' << std::endl; } AssertThrow (out, ExcIO()); -- 2.39.5