Unverified Commit 9896c8a4 authored by fmeisel's avatar fmeisel Committed by GitHub

Update yaml_utils.cpp

parent d531e46f
......@@ -120,7 +120,7 @@ int64_t GetInt64(const YAML::Node &node, const std::string &name, std::optional<
std::optional<int64_t> maxValue)
{
int64_t value = GetInt64(node, name);
if (minValue.has_value() && value <= minValue)
if (minValue.has_value() && value < minValue)
FieldError(name, "is too small");
if (maxValue.has_value() && value > maxValue)
FieldError(name, "is too big");
......
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