From b132509f8173851c6ec0ab62441e24a7cc08cd03 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 3 Jan 2013 09:38:02 +0000 Subject: [PATCH] remove unused method 'sinc' [[Imported from SVN: r9090]] --- dune/gfe/hyperbolichalfspacepoint.hh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dune/gfe/hyperbolichalfspacepoint.hh b/dune/gfe/hyperbolichalfspacepoint.hh index a6fb1fde..2db09578 100644 --- a/dune/gfe/hyperbolichalfspacepoint.hh +++ b/dune/gfe/hyperbolichalfspacepoint.hh @@ -19,11 +19,6 @@ class HyperbolicHalfspacePoint { dune_static_assert(N>=2, "A hyperbolic half-space needs to be at least two-dimensional!"); - /** \brief Computes sin(x) / x without getting unstable for small x */ - static T sinc(const T& x) { - return (x < 1e-4) ? 1 - (x*x/6) : std::sin(x)/x; - } - /** \brief Compute the derivative of arccos^2 without getting unstable for x close to 1 */ static T derivativeOfArcCosSquared(const T& x) { const T eps = 1e-4; -- GitLab