]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work-around for a bug of the MipsPro 7.41 compiler. Due to this bug the ?: operator...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 Feb 2004 13:18:08 +0000 (13:18 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 Feb 2004 13:18:08 +0000 (13:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@8595 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_data.cc

index 5eb21bdacdc74d63248de2e9d352dfa2b887e992..5769609076acb98a0bddc64bcd8df29191ef2ede 100644 (file)
@@ -58,8 +58,10 @@ FiniteElementData (const std::vector<unsigned int> &dofs_per_object,
                first_face_line_index(GeometryInfo<dim-1>::vertices_per_cell
                                      * dofs_per_vertex),
                first_face_quad_index((dim==3 ?
-                                      first_face_line_index :
-                                      first_line_index) +
+                                      GeometryInfo<dim-1>::vertices_per_cell
+                                      * dofs_per_vertex :
+                                      GeometryInfo<dim>::vertices_per_cell
+                                      * dofs_per_vertex) +
                                      GeometryInfo<dim-1>::lines_per_cell
                                      * dofs_per_line),
                dofs_per_face(GeometryInfo<dim>::vertices_per_face * dofs_per_vertex +

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.