Fix parser

release/4.3a0
Frank Dellaert 2023-02-05 16:01:07 -08:00
parent 62d0552368
commit c9bb33db0f
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ std::optional<Row> static ParseConditional(const std::string& token) {
row.push_back(std::stod(s));
}
// if we ended with a '/' then return false
if (token.back() == '/') return false;
if (token.back() == '/') return std::nullopt;
} catch (...) {
return std::nullopt;
}