From: Wolfgang Bangerth Date: Mon, 7 Mar 2016 12:41:45 +0000 (-0600) Subject: Minor cleanups. X-Git-Tag: v8.5.0-rc1~1239^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48b445b8a32cce257374a4b5da6f473cf8b98e3;p=dealii.git Minor cleanups. --- diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 8f3cd38306..cfe05206f9 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -86,12 +86,12 @@ SphericalManifold::push_forward(const Point &spherical_p break; case 3: { - const double &phi= spherical_point[2]; + const double phi= spherical_point[2]; p[0] = rho*sin(theta)*cos(phi); p[1] = rho*sin(theta)*sin(phi); p[2] = rho*cos(theta); + break; } - break; default: Assert(false, ExcInternalError()); }