]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix another case where a conversion to non-deprecated functions went wrong.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jan 2013 14:14:40 +0000 (14:14 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jan 2013 14:14:40 +0000 (14:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@27957 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 15464c23aa219e457350e1a463b9362d79f6345e..b90e36daa3d4a1f73376b3165111b77da710280e 100644 (file)
@@ -1689,7 +1689,7 @@ namespace VectorTools
               std::vector<Point<dim-1> > unit_support_points (fe.dofs_per_face);
 
               for (unsigned int i=0; i<fe.dofs_per_face; ++i)
-                if (fe.is_primitive (fe.face_to_cell_index(0,i)))
+                if (fe.is_primitive (fe.face_to_cell_index(i,0)))
                   if (component_mask[fe.face_system_to_component_index(i).first]
                       == true)
                     unit_support_points[i] = fe.unit_face_support_point(i);

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.