]> https://gitweb.dealii.org/ - dealii.git/commit
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)
commit13a3b1bd334d0a4d08f32cfe681fcf62ba1d6b89
treeb2a7740b847d00935557f7273ee87f58900a63ec
parent3c09716eceaa23ae74e9eda6feaecb6d511353d8
parent5769cb8760f05e77a37511d7781381a28dfaa209
Merge pull request #94 from bangerth/silence-warning

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.

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.