From 9389e8b81fde45fb93e3f690ce9b55c3a21b9e89 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 12 Feb 2015 07:37:35 -0600 Subject: [PATCH] Get rid of (now unnecessary) explicit casts. --- source/grid/grid_generator.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index db8ee260b3..6ff40765ff 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -777,20 +777,20 @@ namespace GridGenerator { case 1: for (unsigned int x=0; x<=n_subdivisions[0]; ++x) - points.push_back (Point (double(x)*delta[0])); + points.push_back (double(x)*delta[0]); break; case 2: for (unsigned int y=0; y<=n_subdivisions[1]; ++y) for (unsigned int x=0; x<=n_subdivisions[0]; ++x) - points.push_back (Point (double(x)*delta[0] + double(y)*delta[1])); + points.push_back (double(x)*delta[0] + double(y)*delta[1]); break; case 3: for (unsigned int z=0; z<=n_subdivisions[2]; ++z) for (unsigned int y=0; y<=n_subdivisions[1]; ++y) for (unsigned int x=0; x<=n_subdivisions[0]; ++x) - points.push_back (Point (double(x)*delta[0] + double(y)*delta[1] + double(z)*delta[2])); + points.push_back (double(x)*delta[0] + double(y)*delta[1] + double(z)*delta[2]); break; default: -- 2.39.5