From: Wolfgang Bangerth Date: Tue, 3 Jul 2018 16:51:55 +0000 (-0600) Subject: Simplify some code in DataOut_DoFData. X-Git-Tag: v9.1.0-rc1~943^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6876%2Fhead;p=dealii.git Simplify some code in DataOut_DoFData. --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index dd5f5343f0..b32440a613 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -1389,16 +1389,11 @@ DataOut_DoFData:: } // finally add a corresponding range - std::tuple - range(output_component, - output_component + patch_space_dim - 1, - name, - DataComponentInterpretation::component_is_part_of_vector); - - ranges.push_back(range); + ranges.push_back(std::make_tuple( + output_component, + output_component + patch_space_dim - 1, + name, + DataComponentInterpretation::component_is_part_of_vector)); // increase the 'component' counter by the appropriate amount, same // for 'i', since we have already dealt with all these components