From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2690a0d72f4f5609c60017271bf6eec619d6cab;p=dealii-svn.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.