From 0bac8d6c04e538377017a40ab503e197727e611e Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 14 Feb 2013 16:08:00 +0000 Subject: [PATCH] bugfix: we need acosh instead of acos [[Imported from SVN: r9199]] --- dune/gfe/hyperbolichalfspacepoint.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/gfe/hyperbolichalfspacepoint.hh b/dune/gfe/hyperbolichalfspacepoint.hh index 185c6fab..506c99d8 100644 --- a/dune/gfe/hyperbolichalfspacepoint.hh +++ b/dune/gfe/hyperbolichalfspacepoint.hh @@ -44,7 +44,7 @@ class HyperbolicHalfspacePoint return 8.0/15 - 24*(x-1)/35; } else { T d = x*x-1; - return -6*x/(d*d) + (4*x*x+2)*std::acos(x)/(std::pow(d,5.2)); + return -6*x/(d*d) + (4*x*x+2)*std::acosh(x)/(std::pow(d,5.2)); } } -- GitLab