aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/correctness/pwp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/correctness/pwp.ml')
-rw-r--r--contrib/correctness/pwp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/correctness/pwp.ml b/contrib/correctness/pwp.ml
index e5af703d2..f30d5382d 100644
--- a/contrib/correctness/pwp.ml
+++ b/contrib/correctness/pwp.ml
@@ -135,7 +135,7 @@ let normalize_boolean ren env b =
Expression c ->
let c' = Term.applist (constant "annot_bool",[c]) in
let ty = type_of_expression ren env c' in
- let (_,q') = dest_sig ty in
+ let (_,q') = Hipattern.match_sigma ty in
let q' = Some { a_value = q'; a_name = Name (bool_name()) } in
{ desc = Expression c';
pre = b.pre; post = q'; loc = b.loc;