From 3d98cf56df3c474a73a310e8be85886b07902ab6 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Tue, 9 Aug 2011 09:36:39 +0000 Subject: [PATCH] change flags git-svn-id: https://svn.dealii.org/trunk@24035 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/fe/fe_poly_face.templates.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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) -- 2.39.5