diff --git a/src/main.cpp b/src/main.cpp index 3b511ee..4389002 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -78,10 +78,10 @@ int main() while (input_file_stream.getline(buf.data(),MAX_SIZE,'\n')) { - auto m = lines%=2; //防止溢出 + lines%=2; //防止溢出 const auto buf_len = strlen(buf.data()); const std::string_view suffix("\n"); //设置一个每个DNA序列结尾的字符,这里是以\n换行来结尾 - if (m == 1){ + if (lines == 1){ // output_file_stream << reverseComplement(buf) << endl; reverseComplement(buf,buf_len); }