Skip to content

Commit 1e032cc

Browse files
committed
bug fix
1 parent ce02212 commit 1e032cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ijim/interval_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def add(self, other: IntervalMap | AnyValueType) -> None:
231231
other._lpoints[i + 1],
232232
other[other._lpoints[i]]
233233
)
234-
if len(self._lpoints) > 0:
234+
if len(other._lpoints) > 0:
235235
self.slice_add(other._lpoints[-1], None, other._vals[-1])
236236
else:
237237
for i in range(1, len(self._vals)):

0 commit comments

Comments
 (0)