From: Wolfgang Bangerth Date: Thu, 12 Feb 2015 13:37:35 +0000 (-0600) Subject: Get rid of (now unnecessary) explicit casts. X-Git-Tag: v8.3.0-rc1~478^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9389e8b81fde45fb93e3f690ce9b55c3a21b9e89;p=dealii.git Get rid of (now unnecessary) explicit casts. --- 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: