From 8ffbd760af7efb22f6e3fb3161669fefb170fe8b Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 30 May 2000 16:27:32 +0000 Subject: [PATCH] Apply patch from 1.13->1.14 git-svn-id: https://svn.dealii.org/branches/Branch-3-0@2977 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/sparsity_pattern.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/source/sparsity_pattern.cc b/deal.II/lac/source/sparsity_pattern.cc index e010645ef5..024561dd67 100644 --- a/deal.II/lac/source/sparsity_pattern.cc +++ b/deal.II/lac/source/sparsity_pattern.cc @@ -524,7 +524,14 @@ SparsityPattern::print_gnuplot (ostream &out) const for (unsigned int i=0; i(colnums[j]) << endl; + // while matrix entries are + // usually written (i,j), + // with i vertical and j + // horizontal, gnuplot output + // is x-y, that is we have to + // exchange the order of + // output + out << static_cast(colnums[j]) << " " << -i << endl; AssertThrow (out, ExcIO()); } -- 2.39.5