From: Bruno Turcksin Date: Mon, 15 Jun 2015 18:09:41 +0000 (-0500) Subject: Fix a bug in vector_tools interpolate for DGQ(0). X-Git-Tag: v8.3.0-rc1~109^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274ba5142fe212b55298d250ca4a768249fb94f5;p=dealii.git Fix a bug in vector_tools interpolate for DGQ(0). --- 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