X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fcone%2Fpermutation_invariant.py;h=faa39f76fbe9072c54f1ff29cebb563d1e8524cb;hb=8698debba196d8746c1a32d8e6866085b6cb2161;hp=1c72565fb6532e7692904dc70db7907dab4c3ff1;hpb=c4203897950b84665ea41ed103f87f68aee0852e;p=sage.d.git diff --git a/mjo/cone/permutation_invariant.py b/mjo/cone/permutation_invariant.py index 1c72565..faa39f7 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 xrange(3, 6) - ....: for p in xrange(1, n) ) + ....: for n in range(3, 6) + ....: for p in range(1, n) ) True As is the nonnegative orthant::