Skip to content

Commit

Permalink
fix the NAME2 LEN bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Mar 16, 2020
1 parent 0b7edca commit 9afeeca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef COMMON_H
#define COMMON_H

#define VERSION_NUM "0.3.0"
#define VERSION_NUM "0.4.0"
#define ALGORITHM_VER 2

#define _DEBUG false
Expand Down
2 changes: 1 addition & 1 deletion src/rfqchunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void RfqChunk::readName2LenBuf(ifstream& ifs) {
for(int i=0; i<mName2LenBufSize; i++) {
mName2BufSize += mName2LenBuf[i];
}
if( (mFlags & BIT_NAME1_LEN_SAME) && (mFlags & BIT_NAME2_SAME)==false)
if( (mFlags & BIT_NAME2_LEN_SAME) && (mFlags & BIT_NAME2_SAME)==false)
mName2BufSize *= mReads;
}

Expand Down

0 comments on commit 9afeeca

Please sign in to comment.