Skip to content

Commit

Permalink
Merge pull request #2635 from JasonRuonanWang/fix-mgard-dimensions
Browse files Browse the repository at this point in the history
fixed mgard dimensions
  • Loading branch information
JasonRuonanWang authored Feb 21, 2021
2 parents cb2c912 + 2f27bc3 commit 649d293
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/adios2/operator/compress/CompressMGARD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ size_t CompressMGARD::Compress(const void *dataIn, const Dims &dimensions,
}

int r[3];
r[0] = 0;
r[1] = 0;
r[2] = 0;
r[0] = 1;
r[1] = 1;
r[2] = 1;

for (size_t i = 0; i < ndims; i++)
{
Expand Down Expand Up @@ -125,9 +125,9 @@ size_t CompressMGARD::Decompress(const void *bufferIn, const size_t sizeIn,

const size_t ndims = dimensions.size();
int r[3];
r[0] = 0;
r[1] = 0;
r[2] = 0;
r[0] = 1;
r[1] = 1;
r[2] = 1;

for (size_t i = 0; i < ndims; i++)
{
Expand Down

0 comments on commit 649d293

Please sign in to comment.