Skip to content

Commit

Permalink
Merge pull request diffblue#2420 from tautschnig/vs-invariant
Browse files Browse the repository at this point in the history
Fix invariant: value must be strictly positive
  • Loading branch information
tautschnig authored Jul 7, 2018
2 parents 9b087dc + 497d296 commit b73a9e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ exprt string_constraint_generatort::add_axioms_for_format(
}
else
{
INVARIANT(fs.index>=0, "index in format should be positive");
INVARIANT(fs.index > 0, "index in format should be positive");
INVARIANT(
static_cast<std::size_t>(fs.index)<=args.size(),
"number of format must match specifiers");
Expand Down

0 comments on commit b73a9e3

Please sign in to comment.