]> matita.cs.unibo.it Git - helm.git/commitdiff
Efficient hashing used.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 17 May 2012 11:33:34 +0000 (11:33 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 17 May 2012 11:33:34 +0000 (11:33 +0000)
matita/components/ng_tactics/nnAuto.ml

index b8a3dd44a0af3340efe48830192578eaf3060a32..25bc6376119ebcaff753212c7ba11aa4666ea929 100644 (file)
@@ -26,9 +26,9 @@ let app_counter = ref 0
 
 module RHT = struct
   type t = NReference.reference
-  let equal = (==)
-  let compare = Pervasives.compare
-  let hash = Hashtbl.hash
+  let equal = NReference.eq
+  let compare = NReference.compare
+  let hash = NReferece.hash
 end;;
 
 module RefHash = Hashtbl.Make(RHT);;