]> https://gitweb.dealii.org/ - dealii.git/commitdiff
oops
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Jun 2013 06:55:30 +0000 (06:55 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 24 Jun 2013 06:55:30 +0000 (06:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@29855 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/sparse_matrix.h

index 5c3fe719a801e21652530300ce85f13647377fa2..9c234289feccca1d6825c50079516433dfa80da6 100644 (file)
@@ -2490,9 +2490,9 @@ void SparseMatrix<number>::print (STREAM &out, bool across, bool diagonal_first)
            if (hanging_diagonal && cols->colnums[j]>i)
              {
                if (across)
-                 out << '(' << i << ',' << i << ") " << diagonal << std::endl;
-               else
                  out << ' ' << i << ',' << i << ':' << diagonal;
+               else
+                 out << '(' << i << ',' << i << ") " << diagonal << std::endl;
                hanging_diagonal = false;
              }
            if (across)

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.