summaryrefslogtreecommitdiff
path: root/tests/coq/arrays
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-05 09:52:44 +0200
committerGitHub2024-06-05 09:52:44 +0200
commitc708fc2556806abc95cd2ca173a94a5fb49d034d (patch)
tree7890e9455f983bcd8cb2c16554f5882daac5d510 /tests/coq/arrays
parent5b7fc57cdc6bc5cff8373e6aa8df383278c9cf63 (diff)
parent8a1adfb37d2cf295d8caed1dfdd4f7475bb19283 (diff)
Merge pull request #231 from Nadrieril/bump-hax
Diffstat (limited to 'tests/coq/arrays')
-rw-r--r--tests/coq/arrays/Arrays.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coq/arrays/Arrays.v b/tests/coq/arrays/Arrays.v
index 6e4ab188..5ff17341 100644
--- a/tests/coq/arrays/Arrays.v
+++ b/tests/coq/arrays/Arrays.v
@@ -426,7 +426,7 @@ Fixpoint sum2_loop
Definition sum2 (n : nat) (s : slice u32) (s2 : slice u32) : result u32 :=
let i := slice_len u32 s in
let i1 := slice_len u32 s2 in
- if negb (i s= i1) then Fail_ Failure else sum2_loop n s s2 0%u32 0%usize
+ if i s= i1 then sum2_loop n s s2 0%u32 0%usize else Fail_ Failure
.
(** [arrays::f0]: