Skip to content

Commit 50de522

Browse files
committed
now td with decent indentation ...
1 parent 286420d commit 50de522

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/solver/td_simplified_ref_improved.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ alternatively, distinguish contribs by session number?
197197
let x_ref = init x in
198198
let old_set = !x_ref.contrib in
199199
let _ = x_ref := {!x_ref with contrib = !new_set} in
200-
let _ = if !abs_GC then VS.iter (fun y -> try HM.find sigma y; () with
201-
| _ -> side x y (S.Dom.bot ())) old_set in
200+
let _ = if !abs_GC then
201+
let rem_set = VS.filter (fun g -> not (VS.mem g !new_set)) old_set in
202+
VS.iter (fun g -> side x g (S.Dom.bot ())) rem_set in
202203
d
203204

204205
and iterate x = (* ~(inner) solve in td3 *)

0 commit comments

Comments
 (0)