aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tacticals.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tacticals.ml b/tactics/tacticals.ml
index 6bded84dd1..3cef0ef2ef 100644
--- a/tactics/tacticals.ml
+++ b/tactics/tacticals.ml
@@ -213,7 +213,7 @@ let onHyps find tac gl = tac (find gl) gl
after id *)
let afterHyp id gl =
- fst (list_split_at (fun (hyp,_,_) -> hyp = id) (pf_hyps gl))
+ fst (list_split_when (fun (hyp,_,_) -> hyp = id) (pf_hyps gl))
(* Create a singleton clause list with the last hypothesis from then context *)