aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/class_tactics.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/class_tactics.ml')
-rw-r--r--tactics/class_tactics.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index e44ace425..b47d8af56 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -1129,7 +1129,7 @@ module Search = struct
try
let evi = Evd.find_undefined sigma ev in
if info.search_only_classes then
- Some (ev, is_class_type sigma (Evd.evar_concl evi))
+ Some (ev, not (is_class_type sigma (Evd.evar_concl evi)))
else Some (ev, true)
with Not_found -> None
in
@@ -1147,7 +1147,7 @@ module Search = struct
begin
(* Some existentials produced by the original tactic were not solved
in the subgoals, turn them into subgoals now. *)
- let shelved, goals = List.split_when (fun (ev, s) -> s) remaining in
+ let shelved, goals = List.partition (fun (ev, s) -> s) remaining in
let shelved = List.map fst shelved and goals = List.map fst goals in
if !typeclasses_debug > 1 && not (List.is_empty goals) then
Feedback.msg_debug