From c2690a0d72f4f5609c60017271bf6eec619d6cab Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 19 Feb 2012 12:12:27 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/numerics/vectors.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5