From: wolf Date: Tue, 30 May 2000 16:27:32 +0000 (+0000) Subject: Apply patch from 1.13->1.14 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffbd760af7efb22f6e3fb3161669fefb170fe8b;p=dealii-svn.git Apply patch from 1.13->1.14 git-svn-id: https://svn.dealii.org/branches/Branch-3-0@2977 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()); }