From 58e2418765cb3726d98905b5da4e6e1beff8c535 Mon Sep 17 00:00:00 2001 From: Simon Praetorius <simon.praetorius@tu-dresden.de> Date: Tue, 25 May 2010 15:57:08 +0000 Subject: [PATCH] bracket-error --- AMDiS/src/MathFunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMDiS/src/MathFunctions.h b/AMDiS/src/MathFunctions.h index 3daba46b..e126becd 100644 --- a/AMDiS/src/MathFunctions.h +++ b/AMDiS/src/MathFunctions.h @@ -21,7 +21,7 @@ namespace AMDiS { } //convert Phi2 to r inline double Phi2ToR(double p2, double eps) { - return eps/3.0 * atanh( std::max(-1+1.e-14, std::min(1-1.e-14, 1+2*p2) ); + return eps/3.0 * atanh( std::max(-1+1.e-14, std::min(1-1.e-14, 1+2*p2)) ); } } #endif -- GitLab