]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Compare iterators from the same container.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2011 23:05:51 +0000 (23:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2011 23:05:51 +0000 (23:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@23892 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/dofs/dof_renumbering.cc

index 582f519d24f1b3cd28924083d54b67405819df95..f2fc9246115673d31da91681588b9a15abc157d4 100644 (file)
@@ -410,7 +410,7 @@ namespace DoFRenumbering
       for (int i=0; i<n; ++i)
        {
          Assert (std::find (perm.begin(), perm.end(), i)
-                 != inverse_perm.end(),
+                 != perm.end(),
                  ExcInternalError());
          Assert (std::find (inverse_perm.begin(), inverse_perm.end(), i)
                  != inverse_perm.end(),

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.