From: Guido Kanschat Date: Tue, 9 Aug 2011 09:36:39 +0000 (+0000) Subject: change flags X-Git-Tag: v8.0.0~3733 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d98cf56df3c474a73a310e8be85886b07902ab6;p=dealii.git change flags git-svn-id: https://svn.dealii.org/trunk@24035 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/fe/fe_poly_face.templates.h b/deal.II/include/deal.II/fe/fe_poly_face.templates.h index aad6592d83..edc9cdcab0 100644 --- a/deal.II/include/deal.II/fe/fe_poly_face.templates.h +++ b/deal.II/include/deal.II/fe/fe_poly_face.templates.h @@ -49,14 +49,14 @@ FE_PolyFace::get_degree () const template UpdateFlags -FE_PolyFace::update_once (const UpdateFlags flags) const +FE_PolyFace::update_once (const UpdateFlags) const { // for this kind of elements, only // the values can be precomputed // once and for all. set this flag // if the values are requested at // all - return (update_default | (flags & update_values)); + return update_default; } @@ -65,8 +65,7 @@ template UpdateFlags FE_PolyFace::update_each (const UpdateFlags flags) const { - UpdateFlags out = update_default; - + UpdateFlags out = flags & update_values; if (flags & update_gradients) out |= update_gradients | update_covariant_transformation; if (flags & update_hessians)