From: Michael Orlitzky Date: Sun, 4 Nov 2018 05:59:45 +0000 (-0400) Subject: cone/schur.py: use xrange in one place. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=721da31ab4d241fc74962e446fb92e60099df962;p=sage.d.git cone/schur.py: use xrange in one place. --- diff --git a/mjo/cone/schur.py b/mjo/cone/schur.py index d1bad98..dca7292 100644 --- a/mjo/cone/schur.py +++ b/mjo/cone/schur.py @@ -59,7 +59,7 @@ def schur_cone(n): sage: set_random_seed() sage: def majorized_by(x,y): ....: return (all(sum(x[0:i]) <= sum(y[0:i]) - ....: for i in range(x.degree()-1)) + ....: for i in xrange(x.degree()-1)) ....: and sum(x) == sum(y)) sage: n = ZZ.random_element(10) sage: V = VectorSpace(QQ, n)