aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ethosu/vela/live_range.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/live_range.py b/ethosu/vela/live_range.py
index 0ccfc17..824c9ce 100644
--- a/ethosu/vela/live_range.py
+++ b/ethosu/vela/live_range.py
@@ -76,7 +76,7 @@ class LiveRange:
self.mem_area = MemArea.Sram
def overlaps_ranges(self, other):
- return max(self.start_time, other.start_time) < min(self.end_time, other.end_time)
+ return max(self.start_time, other.start_time) <= min(self.end_time, other.end_time)
def overlaps_address(self, other):
# Returns the first pair of tensors in this LiveRange and 'other' which have