#19999: infinite recursion creating certain asymptotic expansion
-----------------------------------------+------------------------
       Reporter:  dkrenn                 |        Owner:
           Type:  defect                 |       Status:  new
       Priority:  major                  |    Milestone:  sage-7.1
      Component:  asymptotic expansions  |   Resolution:
       Keywords:                         |    Merged in:
        Authors:                         |    Reviewers:
Report Upstream:  N/A                    |  Work issues:
         Branch:                         |       Commit:
   Dependencies:                         |     Stopgaps:
-----------------------------------------+------------------------

Comment (by behackl):

 I've tried to find the actual reason for this infinite loop. It turns out
 that the entire poset structure breaks down after inserting `(-1)^x`:

 {{{
 sage: ex = 1 + (-1)^x
 sage: s = ex.summands; s
 poset((-1)^x, 1)
 sage: print s.repr_full()
 poset((-1)^x, 1)
 +-- (-1)^x
 |   +-- predecessors:   1
 |   +-- successors:   1
 +-- null
 |   +-- no predecessors
 |   +-- successors:   1
 +-- 1
 |   +-- predecessors:   (-1)^x, null
 |   +-- successors:   (-1)^x, oo
 +-- oo
 |   +-- predecessors:   1
 |   +-- no successors
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19999#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to