Skip to content

Commit d772e7e

Browse files
committed
1 parent 07b1407 commit d772e7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/techniques/union/test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ def _orderByTest(cols):
120120
break
121121

122122
if not retVal:
123-
ratios.pop(ratios.index(min_))
124-
ratios.pop(ratios.index(max_))
123+
if min_ in ratios:
124+
ratios.pop(ratios.index(min_))
125+
if max_ in ratios:
126+
ratios.pop(ratios.index(max_))
125127

126128
minItem, maxItem = None, None
127129

0 commit comments

Comments
 (0)