From: Michael Orlitzky Date: Wed, 21 Aug 2019 20:00:02 +0000 (-0400) Subject: eja: remove a redundant abs() on a nonnegative integer. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=26a116dfe2e411b823c94303fea4bd4b893bf2e8;p=sage.d.git eja: remove a redundant abs() on a nonnegative integer. --- diff --git a/mjo/eja/eja_element.py b/mjo/eja/eja_element.py index 03376bd..d0d4590 100644 --- a/mjo/eja/eja_element.py +++ b/mjo/eja/eja_element.py @@ -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)