From e408f80d74ac45a65119675bdefcc48ae13b00d9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 2 Sep 2013 22:25:49 +0000 Subject: [PATCH] Simplify code in a minor way. git-svn-id: https://svn.dealii.org/trunk@30559 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/dofs/dof_accessor.templates.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/dofs/dof_accessor.templates.h b/deal.II/include/deal.II/dofs/dof_accessor.templates.h index 4cef5607b2..0a6ce9538c 100644 --- a/deal.II/include/deal.II/dofs/dof_accessor.templates.h +++ b/deal.II/include/deal.II/dofs/dof_accessor.templates.h @@ -2836,9 +2836,8 @@ namespace internal std::vector local_dof_indices (dofs_per_cell); get_dof_indices (accessor, local_dof_indices); - types::global_dof_index* local_indices_begin = &(local_dof_indices[0]); - values.extract_subvector_to (local_indices_begin, - local_indices_begin + dofs_per_cell, + values.extract_subvector_to (local_dof_indices.begin(), + local_dof_indices.end(), local_values_begin); } -- 2.39.5