Skip to content

Commit db7a848

Browse files
Fix intersection script.
1 parent 2d7dedd commit db7a848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/limit_intersect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def driver(filename, log_log, csv_dialect):
7979
next_limit = log2(float(next_row[system_limit]))
8080
next_actual = log2(float(next_row[system_actual]))
8181

82-
if this_limit < this_actual and next_limit > next_actual:
82+
if this_limit < this_actual and next_limit >= next_actual:
8383
intersection = get_intersect(
8484
[this_nodes, this_limit],
8585
[next_nodes, next_limit],
@@ -108,7 +108,7 @@ def driver(filename, log_log, csv_dialect):
108108
next_limit = log2(float(next_row[system_limit]))
109109
next_ideal = log2(float(next_row['ideal']))
110110

111-
if this_limit < this_ideal and next_limit > next_ideal:
111+
if this_limit < this_ideal and next_limit >= next_ideal:
112112
intersection = get_intersect(
113113
[this_nodes, this_limit],
114114
[next_nodes, next_limit],

0 commit comments

Comments
 (0)