From 34b548b27fee9bbf0811ca5848d616034c5dfcaa Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 27 Feb 2004 13:18:08 +0000 Subject: [PATCH] Work-around for a bug of the MipsPro 7.41 compiler. Due to this bug the ?: operator is evaluated incorrectly in case of const arguments. git-svn-id: https://svn.dealii.org/trunk@8595 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_data.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_data.cc b/deal.II/deal.II/source/fe/fe_data.cc index 5eb21bdacd..5769609076 100644 --- a/deal.II/deal.II/source/fe/fe_data.cc +++ b/deal.II/deal.II/source/fe/fe_data.cc @@ -58,8 +58,10 @@ FiniteElementData (const std::vector &dofs_per_object, first_face_line_index(GeometryInfo::vertices_per_cell * dofs_per_vertex), first_face_quad_index((dim==3 ? - first_face_line_index : - first_line_index) + + GeometryInfo::vertices_per_cell + * dofs_per_vertex : + GeometryInfo::vertices_per_cell + * dofs_per_vertex) + GeometryInfo::lines_per_cell * dofs_per_line), dofs_per_face(GeometryInfo::vertices_per_face * dofs_per_vertex + -- 2.39.5