From: Michael Orlitzky Date: Sun, 4 Nov 2018 05:53:11 +0000 (-0400) Subject: cone/permutation_invariant.py: use xrange in two places. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d692390065e0982d58050161966fa313495b61ba;p=sage.d.git cone/permutation_invariant.py: use xrange in two places. --- diff --git a/mjo/cone/permutation_invariant.py b/mjo/cone/permutation_invariant.py index faa39f7..1c72565 100644 --- a/mjo/cone/permutation_invariant.py +++ b/mjo/cone/permutation_invariant.py @@ -59,8 +59,8 @@ def is_permutation_invariant(K): The rearrangement cone is permutation-invariant:: sage: all( is_permutation_invariant(rearrangement_cone(p,n)) - ....: for n in range(3, 6) - ....: for p in range(1, n) ) + ....: for n in xrange(3, 6) + ....: for p in xrange(1, n) ) True As is the nonnegative orthant::