Skip to content

Commit 2a1a9ff

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/multi_polynomial.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ def _is_M_convex_(points):
28122812
n_points = len(points_set)
28132813
if n_points == 0:
28142814
return True
2815-
elt = list(islice(points_set, 0, 1))[0]
2815+
elt = next(islice(points_set, 0, 1)))
28162816
dim = len(elt)
28172817
if any(len(p) != dim for p in points_set):
28182818
raise ValueError("input points are not the same dimension")

0 commit comments

Comments
 (0)