aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/auto.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index fc9c63b68e..89b16ea8a9 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -202,7 +202,7 @@ let make_apply_entry env sigma (eapply,verbose) name (c,cty) =
| IsProd _ ->
let ce = mk_clenv_from () (c,cty) in
let c' = (clenv_template_type ce).rebus in
- let pat = Pattern.pattern_of_constr (whd_betaiota c') in
+ let pat = Pattern.pattern_of_constr c' in
let hd = (try head_pattern_bound pat
with BoundPattern -> failwith "make_apply_entry") in
let nmiss =