]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a mistaken assert
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jun 2007 11:40:10 +0000 (11:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Jun 2007 11:40:10 +0000 (11:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@14756 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_constraints.templates.h

index ee109645cb070b4fe4e68852d39995d988c98814..560102750826ce681e80a9e717d8cabb61ef50e8 100644 (file)
@@ -916,7 +916,13 @@ add_entries_local_to_global (const std::vector<unsigned int> &local_dof_indices,
                                          local_dof_indices[i]);
                 }
               else
-                Assert (false, ExcInternalError());
+                                                // the only case that can
+                                                // happen here is one that we
+                                                // have already taken care of
+                Assert ((is_constrained_i == false) &&
+                       (is_constrained_j == false) &&
+                       (keep_constrained_entries == true),
+                       ExcInternalError());
             }
         }
     }

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.