X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Feja%2Feja_element.py;h=a832185502c7fafb16879ab3a08084499d3582ab;hb=d00138c6bd4e7082c0ac0c92528a1692226232ac;hp=bc253d48653c40bddb3180e083daf6b61e9f3dac;hpb=0994b65cf76ca376d07d5c3e4c80fc378a3aead7;p=sage.d.git diff --git a/mjo/eja/eja_element.py b/mjo/eja/eja_element.py index bc253d4..a832185 100644 --- a/mjo/eja/eja_element.py +++ b/mjo/eja/eja_element.py @@ -1425,7 +1425,7 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement): where there are non-nilpotent elements, or that we get the dumb solution in the trivial algebra:: - sage: J = random_eja() + sage: J = random_eja(field=QQ, orthonormalize=False) sage: x = J.random_element() sage: while x.is_nilpotent() and not J.is_trivial(): ....: x = J.random_element() @@ -1561,7 +1561,7 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement): sage: x.trace_inner_product(y) == y.trace_inner_product(x) True sage: # bilinear - sage: a = J.base_ring().random_element(); + sage: a = J.base_ring().random_element() sage: actual = (a*(x+z)).trace_inner_product(y) sage: expected = ( a*x.trace_inner_product(y) + ....: a*z.trace_inner_product(y) )