From: Wolfgang Bangerth Date: Fri, 4 Nov 2016 13:13:41 +0000 (-0600) Subject: No need for double parentheses. X-Git-Tag: v8.5.0-rc1~471^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad1da446e2f6e3d2b5de363f006ceed8db130757;p=dealii.git No need for double parentheses. --- 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); }