]> https://gitweb.dealii.org/ - dealii.git/commit
Fix the scopes of variables. 3451/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 4 Nov 2016 13:16:02 +0000 (07:16 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 5 Nov 2016 23:44:54 +0000 (17:44 -0600)
commit6b64810aee2a3fa52443b27bde43aa98205893b8
treeaa8291829ba75395d44133b9e134e3d47597e7ad
parent62ddfb4f9bfe853fff8931b8a0f6a88716adddb6
Fix the scopes of variables.

The current version has variables in outer scopes that are assigned the addresses
of local variables in inner scopes. These addresses are not actually used in the
outer scope after we leave the inner scope, but it's a bad idea anyway. Move
the declaration of the pointers to the inner scopes where they are actually
used.
source/grid/tria.cc

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.