in the notebook of sagenb.org
I have just typed

n=2;q=9;
G = GU(n,q);
H = SL(n,q^2); Z=H.center(); z=Z.gen(0)

z in G

True

G(z)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sage/sagenb/sage_notebook/worksheets/Tincho/3/code/45.py",
line 6, in <module>
    G(z)
  File 
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/SQLAlchemy-0.4.6-py2.5.egg/",
line 1, in <module>

  File 
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/groups/matrix_gps/matrix_group.py",
line 223, in __call__
    M = self.matrix_space()(x)
  File 
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/matrix/matrix_space.py",
line 379, in __call__
    return self(entries.matrix(), copy=False)
  File 
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/matrix/matrix_space.py",
line 381, in __call__
    return self.matrix(entries, copy=copy, coerce=coerce, rows=rows)
  File 
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/sage/matrix/matrix_space.py",
line 1053, in matrix
    return self.__matrix_class(self, entries=x, copy=copy, coerce=coerce)
  File "matrix_generic_dense.pyx", line 94, in
sage.matrix.matrix_generic_dense.Matrix_generic_dense.__init__
(sage/matrix/matrix_generic_dense.c:2052)
  File "finite_field_givaro.pyx", line 530, in
sage.rings.finite_field_givaro.FiniteField_givaro.__call__
(sage/rings/finite_field_givaro.cpp:4005)
TypeError: unable to coerce from a finite field other than the prime subfield

I didn't have that problem with
Z(z) nor H(z)

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to