From 929404871517bae4ec56171ce67c7c10cc6faef9 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Sat, 5 Apr 2014 06:50:46 +0000 Subject: [PATCH] Avoid error when copying Table<2,bool>. git-svn-id: https://svn.dealii.org/trunk@32716 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/fe_system.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/source/fe/fe_system.cc b/deal.II/source/fe/fe_system.cc index bf072c4a01..78bce6132b 100644 --- a/deal.II/source/fe/fe_system.cc +++ b/deal.II/source/fe/fe_system.cc @@ -3007,8 +3007,9 @@ FESystem::get_constant_modes () const Table<2,bool> new_constant_modes(comp+base_table.first.n_rows()* element_multiplicity, constant_modes.n_cols()); - std::copy(&constant_modes(0,0), &constant_modes(0,0)+this->dofs_per_cell*comp, - &new_constant_modes(0,0)); + for (unsigned int r=0; rdofs_per_cell; ++c) + new_constant_modes(r,c) = constant_modes(r,c); constant_modes.swap(new_constant_modes); } -- 2.39.5