]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug in vector_tools interpolate for DGQ(0). 1016/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jun 2015 18:09:41 +0000 (13:09 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jun 2015 18:09:41 +0000 (13:09 -0500)
include/deal.II/numerics/vector_tools.templates.h

index 9b17e0f4b3fbc8021b33685e03b60d125964e72a..af9d004f543434ec3c01f99a46a40d5181dc9d0e 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.