]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_extraction/mlutil.ml
Change Sort.merge (deprecated) with List.merge
[helm.git] / matita / components / ng_extraction / mlutil.ml
index 0d5e89f6e0962b5815c97ee3dda719c172ce8371..52881e18336f3b1f2e6fd7c512355afbf6bc7e24 100644 (file)
@@ -1242,7 +1242,7 @@ let rec non_stricts add cand = function
           let n = List.length i in
           let cand = lift n cand in
           let cand = pop n (non_stricts add cand t) in
-          Sort.merge (<=) cand c) [] v
+       List.merge (fun c1 c2 -> c1 - c2) cand c) [] v
        (* [merge] may duplicates some indices, but I don't mind. *)
   | MLmagic t ->
       non_stricts add cand t