further code clean up
This commit is contained in:
parent
d2f357af3a
commit
3114edcb7c
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue