Skip to content

Commit

Permalink
Trivial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Dimino committed Feb 20, 2018
1 parent 2a531c5 commit db345be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ and fold_closure ts ~init ~f ~stack =
| [] -> Ok acc
| t :: ts ->
if Int_set.mem t.unique_id !seen then
Ok acc
loop ts acc ~stack
else begin
seen := Int_set.add t.unique_id !seen;
f t acc >>= fun acc ->
Expand Down

0 comments on commit db345be

Please sign in to comment.