]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify return code.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2002 09:47:42 +0000 (09:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2002 09:47:42 +0000 (09:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@5516 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out_faces.cc

index db074f2f9b8fdc06cea22dd0c128e1a512fc6eb9..b390163115abe46c8e0fb7cf85769f970754157c 100644 (file)
@@ -239,7 +239,7 @@ DataOutFaces<dim>::first_face ()
   for (; cell != dofs->end(); ++cell)
     for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
       if (cell->face(f)->at_boundary())
-       return make_pair (static_cast<typename FaceDescriptor::first_type>(cell), f);
+       return FaceDescriptor(cell, f);
 
                                   // ups, triangulation has no
                                   // boundary? impossible!

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.