uint32_t nbSeries = work->nbSeries;
uint32_t tsLength = get_tsLength(work->inputFileName);
- uint32_t nbValues = (tsLength - 4) / 3;
+ uint32_t nbValues = (tsLength - 4) / 4;
// nbReducedCoordinates = smallest power of 2 which is above nbValues
uint32_t nbReducedCoordinates = (uint32_t)ceil(log2(nbValues));