From 274ba5142fe212b55298d250ca4a768249fb94f5 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 15 Jun 2015 13:09:41 -0500 Subject: [PATCH] Fix a bug in vector_tools interpolate for DGQ(0). --- include/deal.II/numerics/vector_tools.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 9b17e0f4b3..af9d004f54 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -207,7 +207,7 @@ namespace VectorTools if (cell->is_locally_owned()) { const unsigned int fe_index = cell->active_fe_index(); - if (fe[fe_index].degree != 0) + if (fe[fe_index].dofs_per_cell != 0) { // for each cell: // get location of finite element -- 2.39.5