Skip to content

Commit

Permalink
Fixed ihs2binsub. Now takes 2 IDs, space or tab separated.
Browse files Browse the repository at this point in the history
  • Loading branch information
camaclean committed Jun 22, 2017
1 parent f436cb5 commit a544946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main-ihs2sub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main(int argc, char** argv)
std::vector<std::string> split = splitString(line, ' ');
if (split.size() == 1)
split = splitString(line, '\t');
if (split.size() == 3) {
if (split.size() == 2) {
pairs.emplace_back(std::make_pair(hm.idToIndex(split[0].c_str()), hm.idToIndex(split[1].c_str())));
}
}
Expand Down

0 comments on commit a544946

Please sign in to comment.