From fb45603cf3f4359ca61494ad2ab573a2b41edea3 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 27 Oct 2014 15:46:13 +0000 Subject: [PATCH] Use static_assert instead of dune_static_assert [[Imported from SVN: r9934]] --- dune/gfe/hyperbolichalfspacepoint.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/gfe/hyperbolichalfspacepoint.hh b/dune/gfe/hyperbolichalfspacepoint.hh index f7f33580..7d0f5a92 100644 --- a/dune/gfe/hyperbolichalfspacepoint.hh +++ b/dune/gfe/hyperbolichalfspacepoint.hh @@ -11,13 +11,13 @@ /** \brief A point in the hyperbolic half-space H^N - \tparam N Dimension of the hyperbolic space space + \tparam N Dimension of the hyperbolic half-space \tparam T The type used for individual coordinates */ template <class T, int N> class HyperbolicHalfspacePoint { - dune_static_assert(N>=2, "A hyperbolic half-space needs to be at least two-dimensional!"); + static_assert(N>=2, "A hyperbolic half-space needs to be at least two-dimensional!"); /** \brief Compute the derivative of arccosh^2 without getting unstable for x close to 1 */ static T derivativeOfArcCosHSquared(const T& x) { -- GitLab