From: Luca Heltai Date: Tue, 19 Aug 2014 13:35:24 +0000 (+0200) Subject: Merge pull request #94 from bangerth/silence-warning X-Git-Tag: v8.2.0-rc1~199 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a3b1bd334d0a4d08f32cfe681fcf62ba1d6b89;p=dealii.git 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. --- 13a3b1bd334d0a4d08f32cfe681fcf62ba1d6b89