This commit is contained in:
Eric Mertens
2022-11-03 19:49:07 -07:00
parent 898ae0521b
commit 005bd76e6b
4 changed files with 63 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ auto ParseStream(std::istream &in) -> std::vector<ValueType> {
std::string str;
std::vector<ValueType> result;
while (std::getline(in, str, ',')) {
result.push_back(std::stoi(str));
result.push_back(std::stol(str));
}
return result;
}