]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a compiler warning with gcc-4.9 221/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 5 Nov 2014 09:05:17 +0000 (10:05 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 5 Nov 2014 09:05:17 +0000 (10:05 +0100)
commitbb04f24098edc6d3f6723791b13c35b7550bdf7c
treeae3ae30903c064f4bb04fb23dfaef08ceb7fb1d6
parentc7f3054d15f093942fc9bd2b7911eec08f7ee0a0
Fix a compiler warning with gcc-4.9

gcc-4.9 seems to be able to see that accessing p[1] in 1D is out of bound
for spacedim == 1 but it can omit the warning if accessed inside a switch
statement. Fix this warning (even though we won't use SphericalManifold
for spacedim == 1).
source/grid/manifold_lib.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.