#13139: Bug in IntegerFactorization
-----------------------------+----------------------------------------------
   Reporter:  aapitzsch      |             Owner:  tbd           
       Type:  defect         |            Status:  new           
   Priority:  major          |         Milestone:  sage-5.2      
  Component:  factorization  |          Keywords:                
Work issues:                 |   Report Upstream:  N/A           
  Reviewers:                 |           Authors:  André Apitzsch
  Merged in:                 |      Dependencies:                
   Stopgaps:                 |  
-----------------------------+----------------------------------------------
 {{{
 sage: from sage.structure.factorization_integer import
 IntegerFactorization
 sage: IntegerFactorization([(3,1)],unsafe=True)
 ---------------------------------------------------------------------------
 NameError                                 Traceback (most recent call
 last)

 ../local/lib/python2.7/site-
 packages/sage/structure/factorization_integer.py in __init__(self, x,
 unit, cr, sort, simplify, unsafe)
      58         if unsafe:
      59             if unit is None:
 ---> 60                 self._Factorization__unit = sage.rings.integer.ONE
      61             else:
      62                 self._Factorization__unit = unit

 NameError: global name 'sage' is not defined
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13139>
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