aboutsummaryrefslogtreecommitdiff
path: root/pretyping
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping')
-rw-r--r--pretyping/unification.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/unification.ml b/pretyping/unification.ml
index 01109d8af9..690a673c6e 100644
--- a/pretyping/unification.ml
+++ b/pretyping/unification.ml
@@ -239,7 +239,7 @@ let unify_0_with_initial_metas (sigma,ms,es as subst) conv_at_top env cv_pb flag
match (kind_of_term cM,kind_of_term cN) with
| Meta k1, Meta k2 ->
let stM,stN = extract_instance_status pb in
- if k1 < k2
+ if k2 < k1
then sigma,(k1,cN,stN)::metasubst,evarsubst
else if k1 = k2 then substn
else sigma,(k2,cM,stM)::metasubst,evarsubst