From: hartmann Date: Fri, 27 Feb 2004 13:18:08 +0000 (+0000) Subject: Work-around for a bug of the MipsPro 7.41 compiler. Due to this bug the ?: operator... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b548b27fee9bbf0811ca5848d616034c5dfcaa;p=dealii-svn.git 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 --- 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 +