From d62264c99cf571412548382d736258afe41233fe Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Mar 2015 20:37:30 -0600 Subject: [PATCH] Minor code cleanup. --- source/numerics/data_out.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.39.5