Skip to content

Commit

Permalink
temporary hack
Browse files Browse the repository at this point in the history
  • Loading branch information
smolkaj committed Jul 14, 2016
1 parent 2cc39ae commit 49e19bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Frenetic_Fdd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@ module Field = struct
| True -> ()
| False -> ()
| Test hv ->
if in_product then
(* SJS: temporary hack - needs fixing *)
if in_product then begin try
let fld = of_hv hv in
let n = Hashtbl.Poly.find_exn count_tbl fld in
Hashtbl.Poly.set count_tbl ~key:fld ~data:(n + size)
with _ -> () end
| Or (a, b) -> f_pred size false a; f_pred size false b
| And (a, b) -> f_pred size true a; f_pred size true b
| Neg a -> f_pred size in_product a in
Expand Down

0 comments on commit 49e19bf

Please sign in to comment.