From: Matthias Maier Date: Sun, 19 Feb 2012 12:12:27 +0000 (+0000) Subject: Bugfix: Fix a small bug in VectorTools::interpolate_to_different_mesh X-Git-Tag: v8.0.0~2874 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=013ed49ae45c5c48ddf6aa12f8c5447d3fd20ae9;p=dealii.git Bugfix: Fix a small bug in VectorTools::interpolate_to_different_mesh git-svn-id: https://svn.dealii.org/trunk@25114 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/numerics/vectors.templates.h b/deal.II/include/deal.II/numerics/vectors.templates.h index 8cdbfbfb92..8cb8243a06 100644 --- a/deal.II/include/deal.II/numerics/vectors.templates.h +++ b/deal.II/include/deal.II/numerics/vectors.templates.h @@ -514,7 +514,7 @@ namespace VectorTools cell2->get_fe().get_name(), ExcMessage ("Source and destination cells need to use the same finite element")); - cache.reinit(dof1.get_fe().dofs_per_cell); + cache.reinit(cell1->get_fe().dofs_per_cell); // Get and set the corresponding // dof_values by interpolation.