]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/cone/permutation_invariant.py
mjo: replace xrange() with range() for python-3.x compatibility.
[sage.d.git] / mjo / cone / permutation_invariant.py
index 1c72565fb6532e7692904dc70db7907dab4c3ff1..faa39f76fbe9072c54f1ff29cebb563d1e8524cb 100644 (file)
@@ -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::