diff --git a/Post/OctreePost.cpp b/Post/OctreePost.cpp index 11a8e2d48a3aba5dd1158b40bdbb6262e56aaa7e..310c05305d9e7889af8f329e8b7f15c920e6cb31 100644 --- a/Post/OctreePost.cpp +++ b/Post/OctreePost.cpp @@ -369,7 +369,7 @@ bool OctreePost::_getValue(void *in, int nbComp, double P[3], int timestep, } } for(int comp = 0; comp < nbComp; comp++){ - double val = e->interpolate(nodeval, U[0], U[1], U[2], nbComp); + double val = e->interpolate(&nodeval[comp], U[0], U[1], U[2], nbComp); if(timestep < 0) values[nbComp * step + comp] = val; else