aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2014-04-04 20:21:06 +0200
committerPierre-Marie Pédrot2014-04-04 20:23:19 +0200
commitbd0e8ce51ed8eb8359d198fb5d14d14381847200 (patch)
tree1dbb836ca2d2a696196394573ac4c7225c454723 /kernel
parentf65fa9de8a4c9c12d933188a755b51508bd51921 (diff)
Fixing coqchk. It was my fault, I misused canonical and user equalities
when defining cache hash tables in Closure. Why it was working in 3.12 is a mystery to me.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/closure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/closure.ml b/kernel/closure.ml
index 55b0384823..7b94ecfb85 100644
--- a/kernel/closure.ml
+++ b/kernel/closure.ml
@@ -214,7 +214,7 @@ struct
let equal = Names.eq_id_key
open Hashset.Combine
let hash = function
- | ConstKey c -> combinesmall 1 (Constant.hash c)
+ | ConstKey c -> combinesmall 1 (Constant.UserOrd.hash c)
| VarKey id -> combinesmall 2 (Id.hash id)
| RelKey i -> combinesmall 3 (Int.hash i)
end