From 6b80adf4c1b41455d6e2afe003cdbc96452d0928 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 14 Oct 2019 09:26:26 -0400 Subject: [PATCH] eja: remove obsolete workaround for SageMath trac ticket #28327. --- mjo/eja/eja_algebra.py | 8 -------- 1 file changed, 8 deletions(-) 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. -- 2.44.2