aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtlib2/smtlib2_genConstr.ml
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@lri.fr>2020-07-06 12:40:48 +0200
committerChantal Keller <Chantal.Keller@lri.fr>2020-07-06 12:40:48 +0200
commit52621f58edcabc36e7d1cd10d9b4da8be1a08649 (patch)
treede5831e7b1b0fb79fe459a819bbe2590e14a1682 /src/smtlib2/smtlib2_genConstr.ml
parentea73755e6e1b7efea8db79b9fc0cf456ed5c640f (diff)
parentd7a33ad9b479317701eba7c787744599de134f78 (diff)
downloadsmtcoq-52621f58edcabc36e7d1cd10d9b4da8be1a08649.tar.gz
smtcoq-52621f58edcabc36e7d1cd10d9b4da8be1a08649.zip
Merge branch 'coq-8.10' of github.com:smtcoq/smtcoq into coq-8.10
Diffstat (limited to 'src/smtlib2/smtlib2_genConstr.ml')
-rw-r--r--src/smtlib2/smtlib2_genConstr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtlib2/smtlib2_genConstr.ml b/src/smtlib2/smtlib2_genConstr.ml
index f938671..7e58aa3 100644
--- a/src/smtlib2/smtlib2_genConstr.ml
+++ b/src/smtlib2/smtlib2_genConstr.ml
@@ -111,7 +111,7 @@ let declare_sort rt sym = declare_sort_from_name rt (string_of_symbol sym)
let declare_fun_from_name rt ro s tyl ty =
let coqTy = List.fold_right (fun typ c ->
- Term.mkArrow (interp_to_coq rt typ) c)
+ Structures.mkArrow (interp_to_coq rt typ) c)
tyl (interp_to_coq rt ty) in
let cons_v = Structures.declare_new_variable (Structures.mkId ("Smt_var_"^s)) coqTy in
let op = Op.declare ro cons_v (Array.of_list tyl) ty None in