----------------------------------------------------------------------
| SAGE Version 3.1.2, Release Date: 2008-09-19 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: K.<a> = CyclotomicField(23)
sage: K.class_number()
*** Warning: large Minkowski bound: certification will be VERY
long.
------------------------------------------------------------------------
---
PariError Traceback (most recent call
last)
/home/dmharvey/<ipython console> in <module>()
/home/was/s/local/lib/python2.5/site-packages/sage/rings/number_field/
number_field.py in class_number(self, proof)
2068 """
2069 proof = proof_flag(proof)
-> 2070 return self.class_group(proof).order()
2071
2072 def composite_fields(self, other, names=None):
/home/was/s/local/lib/python2.5/site-packages/sage/rings/number_field/
number_field.py in class_group(self, proof, names)
2038 except AttributeError:
2039 self.__class_group = {}
-> 2040 k = self.pari_bnf(proof)
2041 cycle_structure = eval(str(k.getattr('clgp.cyc')))
2042
/home/was/s/local/lib/python2.5/site-packages/sage/rings/number_field/
number_field.py in pari_bnf(self, certify, units)
1901 try:
1902 if certify:
-> 1903 self.pari_bnf_certify()
1904 return self.__pari_bnf
1905 except AttributeError:
/home/was/s/local/lib/python2.5/site-packages/sage/rings/number_field/
number_field.py in pari_bnf_certify(self)
1934 raise TypeError, "Unable to coerce number field
defined by non-integral polynomial to PARI."
1935 if not self.__pari_bnf_certified:
-> 1936 if self.pari_bnf(certify=False,
units=True).bnfcertify() != 1:
1937 raise ValueError, "The result is not correct
according to bnfcertify"
1938 self.__pari_bnf_certified = True
/home/dmharvey/gen.pyx in sage.libs.pari.gen._pari_trap (sage/libs/
pari/gen.c:33124)()
PariError: not enough precomputed primes, need primelimit ~ (35)
david
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---