Unverified Commit 4cb3d802 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

replace c10::stoi with std::stoi (#7966)

parent 75046bde
......@@ -77,7 +77,7 @@ std::tuple<std::string, long> _parseStream(const std::string& streamString) {
long index_ = -1;
if (match[2].matched) {
try {
index_ = c10::stoi(match[2].str());
index_ = std::stoi(match[2].str());
} catch (const std::exception&) {
TORCH_CHECK(
false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment