diff --git a/common/src/util.cpp b/common/src/util.cpp index 26356d5629322b70ca039f1d31eb872cfef0baa0..a274723b029206f0151b33ddba621aca64bcf7ea 100644 --- a/common/src/util.cpp +++ b/common/src/util.cpp @@ -394,7 +394,7 @@ std::vector<std::vector<std::string>> util::readTSV(std::string_view tsvFilename if (line.back() == '\n') line.pop_back(); - if (line.size() < 3) + if (line.size() == 0) { if (!inputHasBeenRead) continue; @@ -420,8 +420,7 @@ std::vector<std::vector<std::string>> util::readTSV(std::string_view tsvFilename if (not mcdLine.empty()) for (auto & sentence : sentences) sentence.insert(sentence.begin(), mcdLine); - + return sentences; } -