X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;ds=sidebyside;f=mjo%2Feja%2Feuclidean_jordan_algebra.py;h=f9da3fab90458b741a3598625e287fced552d0fe;hb=9db2ac0737daced914d4bdad2a63049171bb6e36;hp=d6b183f8fbfc75799ed63bc5e7ae21d2a85e8b6a;hpb=fb2f01b310440e2b2cc4802f12e9ec65410c7c81;p=sage.d.git diff --git a/mjo/eja/euclidean_jordan_algebra.py b/mjo/eja/euclidean_jordan_algebra.py index d6b183f..f9da3fa 100644 --- a/mjo/eja/euclidean_jordan_algebra.py +++ b/mjo/eja/euclidean_jordan_algebra.py @@ -721,7 +721,7 @@ def _multiplication_table_from_matrix_basis(basis): for t in S: this_row = mat2vec((s*t + t*s)/2) Q_rows.append(W.coordinates(this_row)) - Q = matrix(field,Q_rows) + Q = matrix(field, W.dimension(), Q_rows) Qs.append(Q) return Qs