aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/tactics.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 3ad89c8254..dd0541fd07 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -2680,7 +2680,7 @@ let compute_scheme_signature scheme names_info ind_type_guess =
let is_pred n c =
let hd = fst (decompose_app c) in match kind_of_term hd with
| Rel q when n < q & q <= n+scheme.npredicates -> IndArg
- | _ when hd = indhd -> RecArg
+ | _ when eq_constr hd indhd -> RecArg
| _ -> OtherArg in
let rec check_branch p c = match kind_of_term c with
| Prod (_,t,c) ->