#7271: some small polybori interface fixes
-----------------------------------+----------------------------------------
   Reporter:  malb                 |       Owner:  malb            
       Type:  defect               |      Status:  needs_review    
   Priority:  minor                |   Milestone:  sage-4.2        
  Component:  commutative algebra  |    Keywords:  polybori, crypto
Work_issues:                       |      Author:  Martin Albrecht 
   Reviewer:                       |      Merged:                  
-----------------------------------+----------------------------------------

Comment(by malb):

 Hi Mike, sorry for being so brief earlier, I was in a rush.

 PolyBoRi calls this function from various functions which are called by
 the {{{groebner_basis}}} function. The ones I could find quickly are:

 {{{
 polybori-0.6/pyroot/polybori/rank.py:    return
 p.lex_lead().variables().next()
 polybori-0.6/pyroot/polybori/ll.py:      return
 Monomial(v).variables().next().index()
 polybori-0.6/testsuite/py/parsegat.py:    return
 p.lead().variables().next()
 }}}

 As you can see, it calls next() immediatly on the result of
 {{{variables()}}}. Right now, certain GB computations will fail with an
 {{{AttributeError}}} because of this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7271#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
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