From d706a05826717b1c642f4938578810205a8bbbed Mon Sep 17 00:00:00 2001 From: kronbichler Date: Sun, 21 Apr 2013 16:12:29 +0000 Subject: [PATCH] Fix case with const vectors. git-svn-id: https://svn.dealii.org/trunk@29351 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/matrix_free/fe_evaluation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/matrix_free/fe_evaluation.h b/deal.II/include/deal.II/matrix_free/fe_evaluation.h index b3387178f9..067488d482 100644 --- a/deal.II/include/deal.II/matrix_free/fe_evaluation.h +++ b/deal.II/include/deal.II/matrix_free/fe_evaluation.h @@ -2225,10 +2225,10 @@ FEEvaluationBase { // select between block vectors and non-block vectors. Note that the number // of components is checked in the internal data - typename internal::BlockVectorSelector::value>::BaseVectorType *src_data[n_components]; for (unsigned int d=0; d::value>::get_vector_component(src, d); + src_data[d] = internal::BlockVectorSelector::value>::get_vector_component(const_cast(src), d); read_dof_values_plain (src_data); } -- 2.39.5