From: bangerth Date: Thu, 10 Aug 2006 18:42:49 +0000 (+0000) Subject: Do away with a global function in a header file X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e7b693495531439135348f483ba5616d0c3fde;p=dealii-svn.git Do away with a global function in a header file git-svn-id: https://svn.dealii.org/trunk@13634 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/vectors.templates.h b/deal.II/deal.II/include/numerics/vectors.templates.h index e956d7248e..efb99a2b99 100644 --- a/deal.II/deal.II/include/numerics/vectors.templates.h +++ b/deal.II/deal.II/include/numerics/vectors.templates.h @@ -44,13 +44,6 @@ //TODO[RH]: Use StaticQ1Mapping where appropriate -template -inline double sqr_point (const Tensor<1,dim> &p) -{ - return p * p; -} - - template void VectorTools::interpolate (const Mapping &mapping, const DoFHandler &dof, @@ -1678,7 +1671,7 @@ namespace internal std::fill_n (psi_scalar.begin(), n_q_points, 0.0); for (unsigned int k=0; k