From c48b445b8a32cce257374a4b5da6f473cf8b98e3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 7 Mar 2016 06:41:45 -0600 Subject: [PATCH] Minor cleanups. --- source/grid/manifold_lib.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.39.5