Skip to content
Snippets Groups Projects
Commit 6fcbc895 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oops

parent 58be00bb
No related branches found
No related tags found
No related merge requests found
...@@ -179,11 +179,11 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat ...@@ -179,11 +179,11 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat
if(_type == ElementData){ if(_type == ElementData){
// data is constant per element: force the interpolation matrix // data is constant per element: force the interpolation matrix
fullMatrix<double> coef(1, 1); fullMatrix<double> coef(1, 1);
coef(0, 0) = 1.0; coef(0, 0) = 1.;
fullMatrix<double> mono(3, 1); fullMatrix<double> mono(1, 3);
mono(0, 0) = 0; mono(0, 0) = 0.;
mono(0, 1) = 0; mono(0, 1) = 0.;
mono(0, 2) = 0; mono(0, 2) = 0.;
setInterpolationMatrices(types[i], coef, mono, setInterpolationMatrices(types[i], coef, mono,
fs->coefficients, fs->monomials); fs->coefficients, fs->monomials);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment