Commit 9d4b07023d36dfb764b9cab13f36800838871ca4

Authored by Benjamin Renard
1 parent 907c4e59

Fix index selection for 3D data parameters (#8064)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/ParamGetImpl/DDServerInterface/Pusher.hh
... ... @@ -114,7 +114,7 @@ public:
114 114 dataIndex = dim1Index*data->Dimensions[_dim2Num]*data->Dimensions[_dim3Num] + curentIndex*data->Dimensions[_dim2Num] + dim2Index;
115 115 }
116 116 else {
117   - dataIndex = dim1Index*data->Dimensions[_dim1Num]*data->Dimensions[_dim2Num] + dim2Index*data->Dimensions[_dim1Num] + curentIndex;
  117 + dataIndex = dim1Index*data->Dimensions[_dim2Num]*data->Dimensions[_dim3Num] + dim2Index*data->Dimensions[_dim3Num] + curentIndex;
118 118 }
119 119 }
120 120 else {
... ...