"long int too large to convert to int". Seems like a coercion bug?

Regards,
Ifti
===

sage: X = SupersingularModule(17)

sage: M = X.T(13).matrix()
---------------------------------------------------------------------------
<type 'exceptions.OverflowError'>         Traceback (most recent call
last)

/home/burhanud/ssmod_new/<ipython console> in <module>()

/home/was/sage/local/lib/python2.5/site-packages/sage/modular/hecke/hecke_operator.py
in matrix(self)
    441             return self.__matrix
    442         except AttributeError:
--> 443             self.__matrix = self.parent().hecke_matrix(self.__n)
    444             return self.__matrix
    445

/home/was/sage/local/lib/python2.5/site-packages/sage/modular/hecke/algebra.py
in hecke_matrix(self, n)
    199             [4860    0 2049]
    200         """
--> 201         return self.__M.hecke_matrix(n)
    202
    203

/home/was/sage/local/lib/python2.5/site-packages/sage/modular/ssmod/ssmod.py
in hecke_matrix(self, L)
    884             for i in range(len(SS)):
    885                 ss_i = SS[i]
--> 886                 phi_L_in_x = phi_L(X, S(ss_i))
    887                 rts = phi_L_in_x.roots()
    888                 for r in rts:

/home/was/sage/local/lib/python2.5/site-packages/sage/rings/multi_polynomial_element.py
in __call__(self, *x)
    106         y = K(0)
    107         for (m,c) in self.element().dict().iteritems():
--> 108             y += c*misc.mul([ x[i]**m[i] for i in range(n) if m[i]
!= 0])
    109         return y
    110

/home/burhanud/ssmod_new/element.pyx in element.RingElement.__mul__()

/home/burhanud/ssmod_new/element.pyx in element.bin_op_c()

/home/burhanud/ssmod_new/element.pyx in element.canonical_coercion_c()

/home/burhanud/ssmod_new/parent.pyx in parent.Parent._coerce_c()

/home/was/sage/local/lib/python2.5/site-packages/sage/rings/polynomial_ring.py
in _coerce_impl(self, x)
    198
    199         # any ring that coerces to the base ring of this
polynomial ring.
--> 200         return self._coerce_try(x, [self.base_ring()])
    201
    202     def _magma_(self, G=None):

/home/burhanud/ssmod_new/parent.pyx in parent.Parent._coerce_try()

/home/burhanud/ssmod_new/parent.pyx in parent.Parent._coerce_()

/home/burhanud/ssmod_new/parent.pyx in parent.Parent._coerce_c()

/home/burhanud/ssmod_new/finite_field_givaro.pyx in
finite_field_givaro.FiniteField_givaro._coerce_c_impl()

<type 'exceptions.OverflowError'>: long int too large to convert to int

sage:




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to