]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: remove a redundant abs() on a nonnegative integer.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 21 Aug 2019 20:00:02 +0000 (16:00 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 21 Aug 2019 20:00:02 +0000 (16:00 -0400)
mjo/eja/eja_element.py

index 03376bda408b8fde98597ca8e8669e7e72a3e81a..d0d45900c97ccffbe16da756395ba2e6f1b8ddea 100644 (file)
@@ -763,7 +763,7 @@ class FiniteDimensionalEuclideanJordanAlgebraElement(IndexedFreeModuleElement):
         and in particular, a re-scaling of the basis::
 
             sage: set_random_seed()
-            sage: n = ZZ.random_element(1,5).abs()
+            sage: n = ZZ.random_element(1,5)
             sage: J1 = RealSymmetricEJA(n)
             sage: J2 = RealSymmetricEJA(n,QQ,False)
             sage: X = random_matrix(QQ,n)