From 059e577f2cc43d5ddd42b07a7964f6e7bc121907 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Mon, 7 Mar 2016 14:27:19 +0100 Subject: [PATCH] Minor cleanups. --- source/grid/manifold_lib.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index bb5b91c861..4740f4e65c 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -93,7 +93,7 @@ SphericalManifold::push_forward(const Point &spherical_p break; } default: - Assert(false, ExcInternalError()); + Assert(false, ExcNotImplemented()); } return p+center; } @@ -152,7 +152,7 @@ SphericalManifold::push_forward_gradient(const Point &sp break; case 3: { - const double &phi= spherical_point[2]; + const double phi= spherical_point[2]; DX[0][0] = sin(theta)*cos(phi); DX[0][1] = rho*cos(theta)*cos(phi); DX[0][2] = -rho*sin(theta)*sin(phi); @@ -164,8 +164,8 @@ SphericalManifold::push_forward_gradient(const Point &sp DX[2][0] = cos(theta); DX[2][1] = -rho*sin(theta); DX[2][2] = 0; + break; } - break; default: Assert(false, ExcInternalError()); } -- 2.39.5