]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #94 from bangerth/silence-warning
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 19 Aug 2014 13:35:24 +0000 (15:35 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 19 Aug 2014 13:35:24 +0000 (15:35 +0200)
Some newer compilers kept warning about an out-of-bounds array access
in Point::operator() but didn't indicate where exactly it came
from. This turned out to be in DataOutBase::write_eps(), a function
that is implemented only for dim==2 but was compiled also for dim==1
and dim==3 and contained this statement: 'pointsvertex'. The patch
reorganizes the code so that the function is only compiled for dim==2
and a more general specialization that does nothing but abort is used
for all other dimensions.


Trivial merge

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.