Nous avons procédé ce jeudi matin 08 avril 2021 à une MAJ de sécurité urgente. Nous sommes passé de la version 13.9.3 à la version 13.9.5 les releases notes correspondantes sont ici:
https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/
https://about.gitlab.com/releases/2021/03/31/security-release-gitlab-13-10-1-released/

mjrty: slight simplification of the loop invariant

parent 9d76a5cd
......@@ -41,8 +41,8 @@ module Mjrty
let cand = ref a[0] in
let k = ref 0 in
for i = 0 to n-1 do (* could start at 1 with k initialized to 1 *)
invariant { 0 <= !k <= i /\
numof a !cand 0 i >= !k /\
invariant {
0 <= !k <= numof a !cand 0 i /\
2 * (numof a !cand 0 i - !k) <= i - !k /\
forall c: candidate. c <> !cand -> 2 * numof a c 0 i <= i - !k
}
......
This diff is collapsed.
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