Minor tweaks to PR #1309

This commit is contained in:
Alex Dima 2019-03-01 22:53:38 +01:00
parent 4c2b07fb31
commit c35fbebb5a

View file

@ -816,7 +816,7 @@ return {
// Hint: Your program does not have to compute the sum and
// max of the array, despite the suggestive names of the
// out-parameters.
method M(N: int, a: array‹int›) returns (sum: int, max: int)
method M(N: int, a: array<int>) returns (sum: int, max: int)
requires 0 <= N & a != null & a.Length == N;
ensures sum <= N * max;
{