]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tests/fe/crash_01.cc.
authorMarkus Buerg <buerg@math.tamu.edu>
Wed, 15 Jan 2014 20:16:19 +0000 (20:16 +0000)
committerMarkus Buerg <buerg@math.tamu.edu>
Wed, 15 Jan 2014 20:16:19 +0000 (20:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@32220 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/numerics/vector_tools.templates.h

index f51cda8dcd27b2b5f333dac31e73dee4eb4e8a61..3339eaf63b05b7ce2a7c86cb0e6a0c22ab2aa834 100644 (file)
@@ -2946,8 +2946,8 @@ namespace VectorTools
                  && (fe.base_element (base_indices.first).face_to_cell_index (line * fe.degree, face)
                      <= fe.system_to_base_index (fe.face_to_cell_index (i, face)).second)
                  && (fe.system_to_base_index (fe.face_to_cell_index (i, face)).second
-                     < fe.base_element (base_indices.first).face_to_cell_index
-                     ((line + 1) * fe.degree, face)))
+                     <= fe.base_element (base_indices.first).face_to_cell_index
+                     ((line + 1) * fe.degree - 1, face)))
                 || ((dynamic_cast<const FE_Nedelec<dim>*> (&fe) != 0) && (line * fe.degree <= i)
                     && (i < (line + 1) * fe.degree)))
               {

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.