]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added white margin to grey frame for last row or column of printed sparsity entries
authorChristoph Goering <christoph.goering@tum.de>
Tue, 5 Dec 2017 21:27:07 +0000 (22:27 +0100)
committerChristoph Goering <christoph.goering@tum.de>
Tue, 5 Dec 2017 21:27:07 +0000 (22:27 +0100)
source/lac/sparsity_pattern.cc

index 078c7f781541e03703c0f3e1895f5ac8cbee6574..5eb16da606b2d664ca6e0267436a52dd58d1027b 100644 (file)
@@ -884,7 +884,7 @@ SparsityPattern::print_svg (std::ostream &out) const
       "    ]]>\n"
       "  </style>\n\n"
       "   <rect width=\"" << n+2 << "\" height=\"" << m+2 << "\" fill=\"rgb(128, 128, 128)\"/>\n"
-      "   <rect x=\"1\" y=\"1\" width=\"" << n << "\" height=\"" << m
+      "   <rect x=\"1\" y=\"1\" width=\"" << n+0.1 << "\" height=\"" << m+0.1
       << "\" fill=\"rgb(255, 255, 255)\"/>\n\n";
 
   SparsityPattern::iterator

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.