]> https://gitweb.dealii.org/ - dealii.git/commit
Fix previous commit 1d327fd1dcd34023a3d5bb2c0ee7524593d44015. 358/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 18 Dec 2014 08:37:02 +0000 (02:37 -0600)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 18 Dec 2014 09:15:20 +0000 (10:15 +0100)
commit9e89d0b7a965e77afad6b50c7b7f77e399438337
tree895656daf18199967c374a064370f48b72f838bc
parentd7d2d111d90465bdf8573c84ac9815615bbc261d
Fix previous commit 1d327fd1dcd34023a3d5bb2c0ee7524593d44015.

Commit 1d327fd1dcd34023a3d5bb2c0ee7524593d44015 moved a function from the .cc
file into the .h file and made it inline. Subtly, it also snuck in a small
change in the code: it changed
  if (!something)
   {
     ...
   }

  if (something)
into
  if (!something)
    {
      ...
    }
  else

The problem is that the first code block in rare circumstances changed the
value of the variable something. It is remarkable that this only triggered
in a single test in the testsuite -- an indication that the testsuite is
after all reasonably good at finding even obscure problems, but also an
indication that the anisotropic refinement stuff is not particularly well
tested.
include/deal.II/grid/tria_objects.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.