#4782: construction of some relative quadratic extensions is SERIOUSLY FRICKIN's
FOO-bar'd
---------------------------+------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: reopened
Priority: major | Milestone: sage-3.4.1
Component: number theory | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment(by mabshoff):
Ok, I also just hit this, which might be completely unrelated:
{{{
sage -t -long "devel/sage/sage/rings/tests.py"
**********************************************************************
File "/scratch/mabshoff/sage-3.3.rc3/devel/sage/sage/rings/tests.py", line
251:
sage: sage.rings.tests.test_random_arith(trials=1000) # long time (5
seconds?)
Exception raised:
Traceback (most recent call last):
File "/scratch/mabshoff/sage-3.3.rc3/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/scratch/mabshoff/sage-3.3.rc3/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/scratch/mabshoff/sage-3.3.rc3/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_12[3]>", line 1, in <module>
sage.rings.tests.test_random_arith(trials=Integer(1000)) # long
time (5 seconds?)###line 251:
sage: sage.rings.tests.test_random_arith(trials=1000) # long time (5
seconds?)
File "/scratch/mabshoff/sage-3.3.rc3/local/lib/python2.5/site-
packages/sage/rings/tests.py", line 255, in test_random_arith
for x in random_rings(level):
File "/scratch/mabshoff/sage-3.3.rc3/local/lib/python2.5/site-
packages/sage/rings/tests.py", line 209, in random_rings
yield random.choice(v)[0]()
File "/scratch/mabshoff/sage-3.3.rc3/local/lib/python2.5/site-
packages/sage/rings/tests.py", line 131, in relative_number_field
K = K.extension(f,var)
File "/scratch/mabshoff/sage-3.3.rc3/local/lib/python2.5/site-
packages/sage/rings/number_field/number_field.py", line 2616, in extension
return NumberField_relative(self, poly, str(name), check=check,
embedding=embedding)
File "/scratch/mabshoff/sage-3.3.rc3/local/lib/python2.5/site-
packages/sage/rings/number_field/number_field_rel.py", line 276, in
__init__
raise ValueError, "defining polynomial (%s) must be
irreducible"%polynomial
ValueError: defining polynomial (x^2 + 3*x - 20) must be irreducible
**********************************************************************
}}}
But the ring random test seems to flush out issues :)
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4782#comment:10>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---