Skip to content

Commit

Permalink
Fix random range specifier parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
hatkirby committed Feb 21, 2024
1 parent 7f4a6c0 commit 5a43dd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ OptionValue GetRandomOptionValueFromString(std::string descriptor) {
int max = std::stoi(parts[it + 1]);

result.range_subset = std::tuple<int, int>(min, max);

it++;
it++;
}

if (it != parts.size()) {
Expand Down

0 comments on commit 5a43dd7

Please sign in to comment.