]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: add missing set_random_seed() call.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 4 Jul 2019 23:39:16 +0000 (19:39 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 29 Jul 2019 03:19:01 +0000 (23:19 -0400)
mjo/eja/euclidean_jordan_algebra.py

index 5eb90fd45a03f1de6e826f8a985ef8dd701130c6..52a8a74634dbec03744324634ccefbaa3bd82c06 100644 (file)
@@ -384,6 +384,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(FiniteDimensionalAlgebra):
             Squaring in the subalgebra should be the same thing as
             squaring in the superalgebra::
 
+                sage: set_random_seed()
                 sage: J = eja_ln(5)
                 sage: x = J.random_element()
                 sage: u = x.subalgebra_generated_by().random_element()