aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/logic.ml
diff options
context:
space:
mode:
Diffstat (limited to 'proofs/logic.ml')
-rw-r--r--proofs/logic.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml
index 5e831dd4c..d664013c7 100644
--- a/proofs/logic.ml
+++ b/proofs/logic.ml
@@ -70,7 +70,7 @@ let with_check = Options.with_option check
(instead of iterating on the list of identifier to be removed, which
forces the user to give them in order). *)
let clear_hyps sigma ids gl =
- let evd = ref (Evd.create_evar_defs sigma) in
+ let evd = ref (Evd.create_goal_evar_defs sigma) in
let ngl = Evarutil.clear_hyps_in_evi evd gl ids in
(ngl, evars_of !evd)