1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-12 17:35:35 +00:00

corrected own bug in strTo<T>

This commit is contained in:
AndrewYongZhenNing 2022-01-14 16:58:24 +00:00
parent d11c6f725c
commit a389e01aa0

View File

@ -119,7 +119,7 @@ inline std::vector<Index> strTo<std::vector<Index>>(const std::string &str)
while (!stream.eof())
{
stream >> buf;
vbuf.push_back(buf);
res.push_back(buf);
}
return res;