From 6fcbc895e96d52416f912f4fd69b73c2ecf9d296 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 7 Dec 2011 08:26:18 +0000 Subject: [PATCH] oops --- Post/PViewDataGModel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Post/PViewDataGModel.cpp b/Post/PViewDataGModel.cpp index baf02f69d5..3c23991b7f 100644 --- a/Post/PViewDataGModel.cpp +++ b/Post/PViewDataGModel.cpp @@ -179,11 +179,11 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat if(_type == ElementData){ // data is constant per element: force the interpolation matrix fullMatrix<double> coef(1, 1); - coef(0, 0) = 1.0; - fullMatrix<double> mono(3, 1); - mono(0, 0) = 0; - mono(0, 1) = 0; - mono(0, 2) = 0; + coef(0, 0) = 1.; + fullMatrix<double> mono(1, 3); + mono(0, 0) = 0.; + mono(0, 1) = 0.; + mono(0, 2) = 0.; setInterpolationMatrices(types[i], coef, mono, fs->coefficients, fs->monomials); } -- GitLab