diff options
Diffstat (limited to 'tactics/rewrite.ml4')
-rw-r--r-- | tactics/rewrite.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/rewrite.ml4 b/tactics/rewrite.ml4 index b7246ad3e..95b34b8d9 100644 --- a/tactics/rewrite.ml4 +++ b/tactics/rewrite.ml4 @@ -773,7 +773,7 @@ let subterm all flags (s : strategy) : strategy = | Some (Some r) -> Some (Some (make_leibniz_proof (fun x -> mkCase (ci, p, x, brs)) ty r)) | x -> - if array_for_all ((=) 0) ci.ci_cstr_nargs then + if array_for_all ((=) 0) ci.ci_cstr_ndecls then let cstr = Some (mkApp (Lazy.force coq_eq, [| ty |])) in let found, brs' = Array.fold_left (fun (found, acc) br -> if found <> None then (found, fun x -> br :: acc x) |