]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
remove test that fails for DG
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2007 02:24:18 +0000 (02:24 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2007 02:24:18 +0000 (02:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@15348 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/matrices.cc

index 0a413667fe803603bd3e59fd4ce40c98409b8732..da9de4a1b5eab3c9c5f9ed686108460f73fd686e 100644 (file)
@@ -1008,18 +1008,6 @@ create_boundary_mass_matrix_1 (const Mapping<dim>        &mapping,
   Assert (coefficient ==0 ||
          coefficient->n_components==1 ||
          coefficient->n_components==n_components, ExcComponentMismatch());
-#ifdef DEBUG
-  if (true)
-    {
-      unsigned int max_element = 0;
-      for (std::vector<unsigned int>::const_iterator i=dof_to_boundary_mapping.begin();
-          i!=dof_to_boundary_mapping.end(); ++i)
-       if ((*i != DoFHandler<dim>::invalid_dof_index) &&
-           (*i > max_element))
-         max_element = *i;
-      Assert (max_element  == matrix.n()-1, ExcInternalError());
-    };
-#endif
   
   const unsigned int dofs_per_cell = fe.dofs_per_cell,
                     dofs_per_face = fe.dofs_per_face;

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.