]> matita.cs.unibo.it Git - helm.git/commitdiff
alpha_eq instead of pervasives.compare
authorAndrea Asperti <andrea.asperti@unibo.it>
Mon, 19 Apr 2010 09:44:21 +0000 (09:44 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Mon, 19 Apr 2010 09:44:21 +0000 (09:44 +0000)
From: asperti <asperti@c2b2084f-9a08-0410-b176-e24b037a169a>

helm/software/components/ng_paramodulation/nCicBlob.ml

index c1c7a9071fdee01ed9ad69959782f7e73886ad25..fb9ee62457b2c2e20257ac08368ac4f09fffa6f1 100644 (file)
@@ -91,8 +91,8 @@ with type t = NCic.term and type input = NCic.term = struct
   ;;
   
   let compare x y = 
-    (* if NCicReduction.alpha_eq C.metasenv C.subst C.context x y  then 0 *)
-    if x = y  then 0
+    if NCicReduction.alpha_eq [] [] [] x y  then 0 
+    (* if x = y  then 0 *)
     else compare x y
   ;;