]> https://gitweb.dealii.org/ - dealii.git/commit
Exit a function early if there are no DoFs. 6621/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 17 May 2018 22:00:42 +0000 (18:00 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 17 May 2018 22:00:42 +0000 (18:00 -0400)
commit37ed3c48b6de584fc945f528b93f42268671e987
tree2de1eec3c94b21de30fe01c328b54b53464c52e1
parent4664128c23589a16cd64588b19a9d5cf19a6063d
Exit a function early if there are no DoFs.

The debug mode of glibc complains that, with FE_Nothing, we end up doing
an invalid array access below. Avoid that by returning early if there is
nothing to do anyway.
include/deal.II/dofs/dof_accessor.templates.h

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.