Skip to content

Commit

Permalink
Lwt_sequence: Fix iteration going the wrong way (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-devriendt authored and aantron committed Jul 4, 2017
1 parent ccbb502 commit f180e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lwt_sequence.ml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ let fold_r f seq acc =
if node.node_active then
loop node.node_prev (f node.node_data acc)
else
loop node.node_next acc
loop node.node_prev acc
in
loop seq.prev acc

Expand Down

0 comments on commit f180e24

Please sign in to comment.