From ad1da446e2f6e3d2b5de363f006ceed8db130757 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 4 Nov 2016 07:13:41 -0600 Subject: [PATCH] No need for double parentheses. --- source/grid/manifold_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 23bc022269..431cbe8d66 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -483,7 +483,7 @@ TorusManifold::pull_back(const Point<3> &p) const double y = p(2); double phi = atan2(y, x); double theta = atan2(z, std::sqrt(x*x+y*y)-R); - double w = std::sqrt((pow(y-sin(phi)*R, 2.0)+pow(x-cos(phi)*R, 2.0)+z*z))/r; + double w = std::sqrt(pow(y-sin(phi)*R, 2.0)+pow(x-cos(phi)*R, 2.0)+z*z)/r; return Point<3>(phi, theta, w); } -- 2.39.5