]> matita.cs.unibo.it Git - helm.git/commitdiff
same heads different arity -> INCOMPARABLE
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 13 Apr 2010 19:52:58 +0000 (19:52 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 13 Apr 2010 19:52:58 +0000 (19:52 +0000)
From: tassi <tassi@c2b2084f-9a08-0410-b176-e24b037a169a>

helm/software/components/ng_paramodulation/orderings.ml

index 024056ea221d6e2f4ec1c1f4f093716dc19655c2..1e143605b99f13127a80b72a202a56d7851bdb91 100644 (file)
@@ -416,7 +416,8 @@ module LPO (B : Terms.Blob) = struct
                         if List.for_all (fun x -> lpo x t = XLT) tl1 then XLT
                       else XINCOMPARABLE
                     | o -> o)   
-                      with Invalid_argument _ -> assert false)
+                      with Invalid_argument _ -> (* assert false *)
+                              XINCOMPARABLE)
               | XINCOMPARABLE -> XINCOMPARABLE
               | _ -> assert false
           end