Commit abca1570 authored by Hal Finkel's avatar Hal Finkel
Browse files

fix the SZ size check

parent 0654f4c6
......@@ -1706,7 +1706,7 @@ void GenericIO::readData(int EffRank, size_t RowOffset, int Rank,
VarData, 0, 0, 0, 0, RH->NElems);
free(OrigData);
if (LDSz != Vars[i].Size*RH->NElems)
if (LDSz != RH->NElems)
throw runtime_error("Variable " + Vars[i].Name +
": SZ decompression yielded the wrong amount of data");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment