From fcf7960830a66f3839e1c73e833495ad1189f0b2 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Thu, 22 Aug 2013 14:32:06 +0000 Subject: [PATCH] remove warning git-svn-id: https://svn.dealii.org/trunk@30420 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/fe_q_base.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deal.II/source/fe/fe_q_base.cc b/deal.II/source/fe/fe_q_base.cc index 0fa2931eb9..6a73cb86ff 100644 --- a/deal.II/source/fe/fe_q_base.cc +++ b/deal.II/source/fe/fe_q_base.cc @@ -522,8 +522,7 @@ get_interpolation_matrix (const FiniteElement &x_source_fe, Assert (std::fabs(sum-1) < eps, ExcInternalError()); } } - else if (const FE_Nothing *source_fe - = dynamic_cast*>(&x_source_fe)) + else if (dynamic_cast*>(&x_source_fe)) { // the element we want to interpolate from is an FE_Nothing. this // element represents a function that is constant zero and has no -- 2.39.5