Skip to content

Commit 6aeb1da

Browse files
fchapotontscrim
andauthored
Update src/sage/rings/polynomial/multi_polynomial.pyx
Co-authored-by: Travis Scrimshaw <[email protected]>
1 parent 5551337 commit 6aeb1da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/rings/polynomial/multi_polynomial.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,8 +2809,7 @@ def _is_M_convex_(points):
28092809
See [BrHu2019]_ for a definition of M-convexity.
28102810
"""
28112811
points_set = set(map(tuple, points))
2812-
n_points = len(points_set)
2813-
if n_points == 0:
2812+
if not points_set:
28142813
return True
28152814
elt = next(islice(points_set, 0, 1)))
28162815
dim = len(elt)

0 commit comments

Comments
 (0)