]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the assertion again. It confirmed that the function is indeed never
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Apr 2013 02:20:58 +0000 (02:20 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Apr 2013 02:20:58 +0000 (02:20 +0000)
called. Also fix the original bug.

git-svn-id: https://svn.dealii.org/trunk@29313 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/dofs/dof_accessor.templates.h

index 6fc2759338d6384fb4cfca9d9ad41ad36cd0290a..3ec680e3428f700ce7ea05720bae831da65c7e35 100644 (file)
@@ -2592,15 +2592,8 @@ namespace internal
             accessor.set_vertex_dof_index(vertex,d,
                                           local_dof_indices[index]);
 
-       // the call to dof_index coming next can't be right. it
-       // should be set_dof_index!? abort here to see if we ever
-       // run through this code and which tests are going to fail
-       // as a debugging aid. i'll remove this check again
-       // as part of the fix
-       Assert (false, ExcNotImplemented());
-
         for (unsigned int d=0; d<dofs_per_line; ++d, ++index)
-          accessor.dof_index(d, local_dof_indices[index]);
+          accessor.set_dof_index(d, local_dof_indices[index]);
 
         Assert (index == dofs_per_cell,
                 ExcInternalError());

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.