diff --git a/bwt_gen/bwt_gen.c b/bwt_gen/bwt_gen.c index 9d881f0..b187c18 100644 --- a/bwt_gen/bwt_gen.c +++ b/bwt_gen/bwt_gen.c @@ -306,7 +306,6 @@ BWTInc *BWTIncCreate(const unsigned int textLength, const float targetNBit, bwtInc->packedShift[i] = BITS_IN_WORD - (i+1) * BIT_PER_CHAR; } - bwtInc->targetTextLength = textLength; bwtInc->availableWord = (unsigned int)((textLength + OCC_INTERVAL - 1) / OCC_INTERVAL * OCC_INTERVAL / BITS_IN_WORD * bwtInc->targetNBit); if (bwtInc->availableWord < BWTResidentSizeInWord(textLength) + BWTOccValueMinorSizeInWord(textLength)) { fprintf(stderr, "BWTIncCreate() : targetNBit is too low!\n"); diff --git a/bwt_gen/bwt_gen.h b/bwt_gen/bwt_gen.h index 8461418..fe7fcf9 100644 --- a/bwt_gen/bwt_gen.h +++ b/bwt_gen/bwt_gen.h @@ -72,7 +72,6 @@ typedef struct BWT { unsigned int bwtSizeInWord; // Temporary variable to hold the memory allocated unsigned int occSizeInWord; // Temporary variable to hold the memory allocated unsigned int occMajorSizeInWord; // Temporary variable to hold the memory allocated - unsigned int saIndexRangeSize; // Temporary variable to hold the memory allocated } BWT; typedef struct BWTInc { @@ -80,7 +79,6 @@ typedef struct BWTInc { unsigned int numberOfIterationDone; unsigned int *cumulativeCountInCurrentBuild; unsigned int availableWord; - unsigned int targetTextLength; float targetNBit; unsigned int buildSize; unsigned int initialMaxBuildSize;