This commit is contained in:
Eric Vergnaud 2016-12-21 19:28:38 +08:00
parent 3cd5e746de
commit 4125fbad8a
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class IntervalSet(object):
# split existing range
elif v<i.stop-1:
x = Interval(i.start, v)
self.intervals[k] = range(v + 1, i.stop)
self.intervals[k] = Interval(v + 1, i.stop)
self.intervals.insert(k, x)
return
k += 1