From: Michael Orlitzky Date: Mon, 14 Oct 2019 13:26:26 +0000 (-0400) Subject: eja: remove obsolete workaround for SageMath trac ticket #28327. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6b80adf4c1b41455d6e2afe003cdbc96452d0928;p=sage.d.git eja: remove obsolete workaround for SageMath trac ticket #28327. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index 2c689d7..df6a048 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -625,14 +625,6 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule): return self.linear_combination(zip(self.gens(), coeffs)) - def random_element(self): - # Temporary workaround for https://trac.sagemath.org/ticket/28327 - if self.is_trivial(): - return self.zero() - else: - s = super(FiniteDimensionalEuclideanJordanAlgebra, self) - return s.random_element() - def random_elements(self, count): """ Return ``count`` random elements as a tuple.