#4965: [with patch, needs review] Z/nZ[x] via FLINT's zmod_poly
------------------------------+---------------------------------------------
 Reporter:  malb              |        Owner:  somebody
     Type:  defect            |       Status:  new     
 Priority:  major             |    Milestone:  sage-3.3
Component:  basic arithmetic  |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by robertwb):

 The code looks good, and seems to work for me.

 One failure in the doctests:

 {{{
 sage -t  "sage/rings/polynomial//polynomial_zmod_flint.pyx"
 **********************************************************************
 File "/Users/robert/sage/sage-3.1.3/devel/sage-
 trac4965/sage/rings/polynomial/polynomial_zmod_flint.pyx", line 236:
     sage: f*g == f._mul_zn_poly(g)
 Exception raised:
     Traceback (most recent call last):
       File "/Users/robert/sage/current/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/Users/robert/sage/current/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/Users/robert/sage/current/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_8[5]>", line 1, in <module>
         f*g == f._mul_zn_poly(g)###line 236:
     sage: f*g == f._mul_zn_poly(g)
     AttributeError: 'sage.rings.polynomial.polynomial_modn_dense_ntl.Po'
 object has no attribute '_mul_zn_poly'
 **********************************************************************
 1 items had failures:
    1 of  10 in __main__.example_8
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /Users/robert/sage/current/tmp/.doctest_polynomial_zmod_flint.py
 }}}

 should be an easy fix.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4965#comment:33>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to