]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Ugh, this could have been an expensive buglet, in terms of computing power...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 09:12:41 +0000 (09:12 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 09:12:41 +0000 (09:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@2382 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index 884f6d5fb1de2f0d7813f39d2abf7fe15c75f8a4..7fdbeb0efca3cfa6514d24d1971e4c183bd69ef4 100644 (file)
@@ -242,9 +242,10 @@ FiniteElementBase<dim>::constraints () const
 
 
 template <int dim>
-bool FiniteElementBase<dim>::operator == (const FiniteElementBase<dim> &f) const {
-  return ((static_cast<FiniteElementData<dim> >(*this) ==
-          static_cast<FiniteElementData<dim> >(f)) &&
+bool FiniteElementBase<dim>::operator == (const FiniteElementBase<dim> &f) const
+{
+  return ((static_cast<const FiniteElementData<dim>&>(*this) ==
+          static_cast<const FiniteElementData<dim>&>(f)) &&
          (interface_constraints == f.interface_constraints));
 };
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.