From: Wolfgang Bangerth Date: Wed, 4 Mar 2015 02:37:30 +0000 (-0600) Subject: Minor code cleanup. X-Git-Tag: v8.3.0-rc1~387^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d62264c99cf571412548382d736258afe41233fe;p=dealii.git Minor code cleanup. --- diff --git a/source/numerics/data_out.cc b/source/numerics/data_out.cc index 3a12855a0e..75c1b41e10 100644 --- a/source/numerics/data_out.cc +++ b/source/numerics/data_out.cc @@ -315,7 +315,7 @@ void DataOut::build_patches (const unsigned int n_subdivisions) template void DataOut::build_patches (const Mapping &mapping, - const unsigned int nnnn_subdivisions, + const unsigned int n_subdivisions_, const CurvedCellRegion curved_region) { // Check consistency of redundant template parameter @@ -325,8 +325,8 @@ void DataOut::build_patches (const Mappingtriangulation != 0, typename BaseClass::ExcNoTriangulationSelected()); - const unsigned int n_subdivisions = (nnnn_subdivisions != 0) - ? nnnn_subdivisions + const unsigned int n_subdivisions = (n_subdivisions_ != 0) + ? n_subdivisions_ : this->default_subdivisions; Assert (n_subdivisions >= 1, ExcInvalidNumberOfSubdivisions(n_subdivisions));