Skip to content

Commit

Permalink
fix of issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrikfr committed Nov 21, 2019
1 parent bd07154 commit 3e62cff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/range.ml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ let equal a b =
match (a, b) with
| Natural ra, Natural rb ->
ra.start = rb.start && ra.stop = rb.stop
| Modified _, Modified _ ->
List.equal Int.( = ) (to_list a) (to_list b)
| _ ->
false
| _ -> List.equal Int.( = ) (to_list a) (to_list b)

let rec iter_loop r f n =
if n > r.stop then ()
Expand Down

0 comments on commit 3e62cff

Please sign in to comment.