]> matita.cs.unibo.it Git - helm.git/commitdiff
Comment added.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 1 Sep 2005 08:42:30 +0000 (08:42 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Thu, 1 Sep 2005 08:42:30 +0000 (08:42 +0000)
helm/ocaml/paramodulation/utils.ml

index 525ed9ca2b457fcbce005fe5707b208b69ecb6be..c1c9086de1ccf4db4570125ea0f2963bcfd1495f 100644 (file)
@@ -107,6 +107,8 @@ let compute_equality_weight ty left right =
 (*     metasw := List.fold_left (fun s (i, _) -> IntSet.add i s) !metasw m; *)
     w
   in
+  (* Warning: the following let cannot be expanded since it forces the
+     right evaluation order!!!! *)
   let w = (weight_of ty) + (weight_of left) + (weight_of right) in
   w + !metasw
 (*     (4 * IntSet.cardinal !metasw) *)