]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix condition.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Sep 2009 13:51:52 +0000 (13:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Sep 2009 13:51:52 +0000 (13:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@19550 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/sparsity_tools.cc

index c65686a1506a23f27b5e98cd8c228f1459949886..04efe8446dee58823fd630e52bd4073206a24dfa 100644 (file)
@@ -343,7 +343,7 @@ namespace SparsityTools
                                             // an error if we got
                                             // here and starting
                                             // indices were given
-           Assert (starting_indices.size() > 0,
+           Assert (starting_indices.size() == 0,
                    ExcMessage ("The input graph appears to have more than one "
                                "component, but as stated in the documentation "
                                "we only want to reorder such graphs if no "

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.