From b5403a6fe64526294868d76066ce4e82aa88322f Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 11 Feb 2000 09:12:41 +0000 Subject: [PATCH] Ugh, this could have been an expensive buglet, in terms of computing power... git-svn-id: https://svn.dealii.org/trunk@2382 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index 884f6d5fb1..7fdbeb0efc 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -242,9 +242,10 @@ FiniteElementBase::constraints () const template -bool FiniteElementBase::operator == (const FiniteElementBase &f) const { - return ((static_cast >(*this) == - static_cast >(f)) && +bool FiniteElementBase::operator == (const FiniteElementBase &f) const +{ + return ((static_cast&>(*this) == + static_cast&>(f)) && (interface_constraints == f.interface_constraints)); }; -- 2.39.5